What can cause pain during intercourse ex lower back sides and stomach?

Sounds muscular to me. But if it is quite painful you should get seen to. It could be kidneys or something else.