Heating pad ok?

A
I've been having contractions (I'm only 13 weeks) and so I put a heating pad on my lower back cause it helped me feel better. Anyway, I slept SO good last night and I didn't wake up nauseous like I used to. Is a heating pad ok during pregnancy? Right now in using the one you heat in the microwave but I'm going to get an electric one.