How long can you be on the pill?

Cynthia

How many years can you be on the pill? I’m about to hit two years of taking it and I am curious as to how long I actually can take it.