Riding my husband

I'm 14 weeks 5 days, I was riding my husband and I noticed that after we were done I started getting lots of cramps, no blood just cramps and back pain. Was it the position? cause that never happens when we do missionary.