Bad sunburn in Thailand

I just got a pretty gnarly sunburn in Koh Samui. I’m now in Phuket and am considering seeing a doctor to prevent infection. I’d really rather not though. I’ve been applying loads of aloe vera and moisturizer. I read that Thailand’s public healthcare is available to visitors too. Anyone have any advice?

Thanks!