why do i get hot flushes?

I’ve been getting hot flushes recently. Maybe it’s my medication or as I heard from a friend because of tom (time of month) I also have a diagnosis on fibromyalgia, I do see a doctor and I still do get partial pain in back and knees.