Is there a vaccine for the measles?

yes

There is a live attenuated vaccine.

MR vaccine (Measles-Rubella),

MMR vaccine (Measles, Mumps, Rubella)

MMRV (Measles, Mumps, rubella, Varicella)