To, two and too are examples of homonyms, words that sound alike but are spelled differently. Two is a number ("two lumps of sugar"). Too is an adverb meaning "also" ("John came, too"); "very" ("not too much"); or "excessively" ("too big," "too cold"). To is the right spelling for all other meanings.
Try this quiz to see if you know the difference between to, two and too.