Welcome to HealthcareMagic.
This could be a pain due to surgery .Do you have any bleeding per vagina ? Do you have any pus from the surgical area ? Please mention these details as a comment here. There could be generalized pain in pregnancy
.I advise you to visit your Gynecologist and get an Ultrasound
done to ensure safety.