Homonyms, homographs and homophones

How do you tell which homo to use?

This can be a hard thing to remember. The way I remember is, homo means the same and graph is writen if you put them together you will get same-writen so you have to write them the same. Same gose with homophone, homo means the same and phone means sound put'em together it means same-sound so it'll sound the same.