Has this happen to anyone else?

My boyfriend and I had sex tonight. Everything went fine and I was just playing with our daughter and all of a sudden got really bad cramps to the point I had to sit down. Has anyone had this happen before?