Hello, im a 27yr old male

I have been having low right abdominal pain for about 2 weeks now, the pain is not continuous, its periodic, the pain is a throbbing feeling and occurs in 5-10 minute intervals. I noticed that the pain starts 4-5 hrs prior to going to the stool. After going, the throbbing feeling dies down gradually. Sometimes the pain occurs on the lower left side of the abdominal as well. But it occurs more frequently on the lower right side.

What could be the problem?