Pain is often your body trying to tell you that something is wrong. This is especially true with chronic pain (pain that lasts longer than 6 months). Think of chronic pain as a check engine light for your body, and check in with a doctor as soon as possible.
Certain pain medications, especially opiates, suppress the production of testosterone and cortisol. When opiates are used in the short term, hormonal balance should be restored within a few hours. However, in the long term, opiate usage can continue to impact your hormones, leading to hypogonadism.