Besides hotels, guesthouses and restaurants, there are also many places along the beachfront where you can have a shower (for 10 baht) or go to the toilets. Ask around or, if you can read Thai, look for the signs that say “ap nam jeut/sukhra”. It comes handy if, for example, you spend only one day in Cha-Am and you don’t have a place to stay.