URGENT/ HEATING PAD

I had taken my anbein to help me sleep but my lower back decided to extremely hurt. I got my heating pad out and laid on my side with it tucked in my pants right on the pain. I fell asleep with it like this for an hour or two. Is my baby going to be ok from the extended amount of heat?? I don’t have any burns on me so it didn’t get that hot