The best way to protect yourself and others is to get vaccinated before exposure occurs," a California official said.