Meds con

So I just found out that my muscle relaxer medicine is the cause of my bad heat flashes? I didn’t think so at first but I look it up and yeah so I’m staying away from it at night even if my body hurts I rather that instead of the heat tbh