Scared- anyone do yoga?

I didn't know I couldn't do up dog anymore and today when I went to flow into t I gota sharp pain middle low abdomen. So scared I hurt the baby- anyone ever felt this before? It went away once I got out of the position but it was scary