Having chronic pain can make someone have trouble, not only when doing an everyday activity, but also getting through the day. The best solution is treating the cause, whether it is illness or injury. Once the cause is treated or healed, the pain will be reduced or even gone. However, that takes time. Hydrocodone is frequently given to treat moderate to severe pain. Usually, it is taken in addition to other drugs to provide better pain relief. it can only be obtained with a prescription.