Baths at 36 weeks

I'm having contractions 8 minutes apart and I'm very uncomfortable the only thing that helps me with the pain is a bath is it okay to take? I'm 36 weeks 4 days

Also lots and lots of diarrhea and my booty burn lmao help meeee. I was told it's bad due to I won't feel if my water breaks?