Pap smears

How often are you supposed to get a Pap smear? My dr told me I didn't have to get another one for 3 years. But I thought it was yearly