To prevent mumps, for most people, the CDC recommends the first dose of the MMR vaccine which protects against measles, mumps and rubellaat 12 to 15 months of age, and the second dose at 4 to 6 years.