It's done during manufacture. Doing so after the fact voids your warranty so most folk can't do this. If you want a water resistant phone, shop for that.
hi has anyone nano coated his phone? i saw videos about nano coating, which can make a phone waterproof. does it really work? https://youtu.be/G1f-Yj3_zho
thanks

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic