A better idea would be to find out what's causing it. Hydrocodone may dull the pain but its meant to be used after a doctor diagnoses the problem and determines its a suitable treatment for it - not simply to dull a pain you have. Severe pain could be telling you that something serious is going on; that's the kind of pain that you don't want to dull because it will get you to see a doctor.
Here are some over the counter remedies for earache from Health Centrals earache treatment page
A cold pack or cold wet wash cloth applied to the outer ear for 20 minutes may reduce pain.
For children old enough to safely chew gum, chewing may help relieve the pain and pressure of an ear infection.
If a child is uncomfortable lying down, resting in an upright position can help reduce pressure in the middle ear.
Over-the-counter ear drops are gentle and effective, as long as the eardrum has not ruptured.
Over-the-counter pain relievers, such as acetaminophen or ibuprofen, can provide relief for children and adults with an earache. (Do NOT give aspirin to children.)
The page also tells you when symptoms are serious enough to warrant calling your doctor - be sure to check it out. Good luck!
If you're having enough ear pain that you feel you need to take an opioid medication like hydrocodone, you really should see a doctor about it. Not all ear pain is actually caused by a problem in the ear. I speak from experience. I had what felt like an earache and tried to treat it myself. Finally it got so bad I couldn't stand it so I went to the doctor. It turned out that I had an abcessed tooth which was causing the pain. I almost waited too long and it was difficult to get the infection under control. Please get it checked and don't make the mistake I did.
We hope you find this general health information helpful. Please note however, that this Q&A is meant to support not replace the professional medical advice you receive from your doctor. No information in the Answers above is intended to diagnose or treat any condition. The views expressed in the Answers above belong to the individuals who posted them and do not necessarily reflect the views of Remedy Health Media. Remedy Health Media does not review or edit content posted by our community members, but reserves the right to remove any material it deems inappropriate.