Taking a bath

I know you shouldn't take overly hot baths but my mom said it also increases the risk of infection and I shouldn't take one. Is this true? I want nothing more than to soak in a bubble bath, I'm 3 days overdue and sore everywhere and have pupp rash so I'm super itchy!