Hi,
Welcome to ehealthforum.
The pain that you get could be related to PID, or ovarian issues. If this is recurring or persisting with every intercourse that you have, then consider meeting your gynecologist for a check and to start with treatment as indicated by the examination and investigation results.
You also need to relax when having intercourse, if you keep the body stiff or have apprehension, symptoms of pain might come back.
Take care.