Anxiety and heart palpitations

I find anxiety is running my life. The week before my monthly friend I get heart palpitations. Usually when I am lying down to sleep they come on for an hour or so for a week than nothing till the next month. Some months are really bad and it does it all day and night now. I feel like i fight so hard to stop anxiety from running my life but when that week comes i just want to stay at home and not leave. I do go to work during that week but i find to really hard to get anything done. I have been trying to lose weight. I would like to lose weight and again i get on a good roll of getting my steps in everyday and eating healthy and than that week comes and i eat what makes me conformable and i try and keep my self a conformable as I can. After that week than I have my period and i feel like crap and dont want to do anything.