just a quick question!

Hi there I am just wondering if anyone has had this happen for them,
I just finished my period yesterday but it was very unusual, I had unprotected sex 2 days before my period is due but last month I did as well and for the last little while I've been having headaches day after day and I get hot flashes and I'm tired. I don't know what is going on but the only thing that caught me off guard was this is the first time my period has been different as well as my body temperature is warm and I feel like I'm gonna faint and I need to lie down. Can anyone give me some insight? 
Thank you