pulled a stomach muscle?

Kiff
Hoping to find some reassurance here.. 
I'm 22 weeks and just lifted my son when he fell asleep to move him to bed and I felt my stomach pull pretty hard. I workout and stay active regularly. Just a little freaked out and hope I didn't do something to hurt the baby. Does this happen a lot? Should I let my doctor know?