Can carelessness cause a miscarriage at 12 weeks?

I just jumped and rolled into bed as I completely forgot I was pregnant for a second - feel slight pain on my right side of the abdomen.. I didn't jump too hard but I feel really scared... Any advice?