The best protection against rubella is the measles, mumps, and rubella (MMR) vaccine. It protects against these three viruses. MMR makes most people immune to rubella (along with measles and mumps). Also, people who have had rubella are immune for life.
Usually, the first dose of the MMR vaccine is given when a child is 12 to 15 months old. A second dose is often given at 4 to 6 years of age. People who are considering pregnancy should talk with their doctor about being tested for immunity to measles, mumps, and rubella. If not protected, it's best to get vaccinated at least 4 weeks before trying to become pregnant. Teens and adults who are not up-to-date on their MMR vaccines should talk with their doctor. Unvaccinated people can get rubella while traveling to countries where the disease is common.