Is it normal for a baby's movements to be sporadic at 24 weeks and 4 days?

liz

Yesterday he was moving a lot. I woke up last night to really bad rib and upper abdominal pain for like an hour. My aunt said he was probably just pushing. Today he's not moving as much. I'm anxious, I just want to know he's okay.