Protect yourself with the vaccine. The best way to protect against measles is with the measles, mumps, and rubella (MMR) vaccine. MMR is safe and effective. Two doses of MMR vaccine are about 97% effective at preventing measles; one dose is about 93% effective.