What can you take for pain from zoom whitning?

Sleeping pill to hopefully sleep it off! Dentist gave ibuprofen 800mg
It's not working and I think this pain is worst then a dentist drilling into your nerve without
a numbing treatment! I praying the pain subsides. My teeth look great but it not worth it.