Is it bad to take hydrocodone and ibuprofen together?

No. Hydrocodone is a narcotic analgesic which blunts pain perception. Ibuprofen is an antiinflammatory which may actually help decrease the cause of pain as well as having some analgesic (pain relieving) properties.
Call. Talk with your pharmacist about doses for each. Be careful not to exceed the recommended dose.
No worry. In fact the combination of Hydrocodone and Ibuprofen is sold as vicoprofen (hydrocodone and ibuprofen).