Can I go to the pool?

I'm 9 weeks and a few people had told me that I can't swim but I want to be 100% sure about that can someone let me know because I don't want to risk my baby