I need answers!!!

I just broke up with my boyfriend. I got my period last night and then got dropped off at a friends house. I was acting a bit unusually cranky and I’m not sure if it was mood swings or what, but I just had the urge to break up with my boyfriend. I feel like I was extremely harsh towards him as well. He told me that he will still love me and I just kept on responding with move on etc I feel horrible and I feel like my cycle took hold of my body during this time.. I truly don’t know what to do.. I need advice!!