hot flashes at 31 years old

I have pcos and started getting hot flashes is that because I'm overweight