stomach ache after sex

Everytime I have sex with my boyfriend I always get a stomach ache afterwards. Why does this happen and any tips?