Pains in stomach

When I get on my period I get really sick, like I can't eat and just feel like I have to throw up but when I done with my period, about a week later it comes about again so I'm not sure what is going on, if it has something to do with my period or not.