Hydrocodone is a prescribed medication commonly used to manage moderate to severe pain. Doctors may recommend it when other pain relief options are not enough and when closer supervision is necessary. Because it is an opioid medication, it must be used carefully and only under the guidance of a licensed medical provider.