Welcome to Healthcare Magic
Are you passing gas or stool. If not it can be bowel obstruction. You are having bowel spasms
which can be caused due to some gastrointestinal infection
possibly. You can take over the counter muscle relaxant
or Buscopan for relief. Better to hydrate well, go consult with your Doctor get examined, get stool tested if necessary and get proper treatment.