I have had this during certain times of the month, mainy the 'ovulation period' I put it down to the womb filling up with the blood lining and the womb being compressed in some way. Not sure as I never had it checked out but I have it and it comes and goes...
You really should see your Dr to find out what's going on. You may have an infection or a tear that's not healing.