Pain during sex??

I enjoy being with my husband but half way I start with a pain next to my belly on my right side so i have to stop idk if this or similar happends to anyone?