Are heating pads ok?

I’m 4 weeks and 6 days and having horrible bad like cramping and lower back pain. I went to the doctor and he said as long as I’m not bleeding women can experience menstrual symptoms around the time AF was due. AF was due this weekend. I have been using the heating pad on my lower back to help alleviate the pain. Just wondering if this is okay?