A doctor has urged parents to get their children vaccinated as she explained it is the best way to keep them and others protected.