You can get scarlet fever through direct contact with throat mucus, nasal discharge, or saliva of an infected person.
Understanding Group A Streptococcal Infections
Escarlatina (PDF) [en español]