Taking a bath while pregnant

So, is it okay to soak in the tub while you are pregnant? It seems like I heard you aren’t suppose to.