English spelling patterns are not always intuitive or even logical. With silent letters, several foreign loanwords and multiple ways to spell the same sound, English spelling can be a nightmare. Fortunately, phonetic spelling patterns, where words are written according to their pronunciation, do exist. There have been several English phonetic alphabets, but they all share the goal of accurately writing the pronunciation of English words. Once you have familiarized yourself with one of these alphabets, you'll be able to write phonetic spellings yourself.
Select a pre-established phonetic alphabet. The UCL (University College London) website has a listing of standard English phonetic symbols, while Omniglot guide to alphabets and languages has a list for the less common International Phonetic Alphabet.
Divide a word into syllables. This will help you isolate the sounds. You might wish to separate the syllables using a dash.
Convert the sounds in the word into phonetic sounds. Many phonetic symbols are different than the letters of the alphabet, so you might need to practice writing them.
Place a line over stressed syllables in words. This helps a reader know which syllable should be emphasized when pronouncing it.
Use a dictionary such as Merriam-Webster, if you have doubts about spelling. Most dictionaries have phonetic spellings for every word.
Use an online tool such as the IPA typewriter to write phonetic spellings for word processors or online documents.