On and off contractions

So I was having back contractions last night for a good hour ... decided to rest, they went away. Went to bed around 12 and contractions for 2 hours straight but tried sleeping through them. Once I finally couldn’t take them while sleeping I got up ... only had 2 more then completely went away 🤔 Is that normal or supposed to happen? I’m 37+5