Worried..

Sometimes my 7month old daughter his me on my stomach with her head while shes laying next to me playing and then i start to feel cramps..im worried about something bad happening but i dont want her to feel like i dont want her near me because she loves to be next to me and play ect... Has any1 else gone through this? Im 23 weeks pregnant