Is it safe to take a bath in early pregnancy?

I am incredibly stressed out (husband broke his back from a fall, a day after I told him I'm pregnant 😞💔). Been at the hospital for two days and will probably be here for a few more. I have heard you can't take baths in pregnancy because of the heat. Please let me know, and send prayers if you have it in your heart ❤️