Continuous fetal movements causing pain can be normal phenomenon. If you are worried that baby is in distress, you can do baby's biophysical profile
to know that everything is fine, that might relieve your stress. For painful contractions, you can ask your doctor to prescribe some uterine relaxant OR progesterone(Weekly injection) which will relieve your pain.
Wish you good health.