Does anyone’s period mess with their weight gain?

Kr

I workout consistently and hate my period because it makes me drop weight and makes me feel weak when I workout, does this happen to anyone else? How to prevent dropping the muscle/weight?