While taking vitamin A can help prevent complications in people infected with measles, only the vaccine can ward off infection