There are no rules for punctuation or spelling of such interjections; they are merely attempts to produce a transcription of a sound. A few commoner ones have 'usual' spellings, like Wow! and Ouch!
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.