My baby woke up screaming??

Marissa

My baby is almost a year old. She woke up last night screaming and crying. I picked her up and tried to calm her. Her legs were stiff and she wouldn’t calm down until 15 mins later. She wasn’t constipated or tryin to poop. Could it be from a bad dream perhaps? It scared me and I wish she could talk to me and tell me what was wrong