How Many Years Do You Need To Get A Full Pension For Teachers?

How many years do teachers work to get a pension?

.

Can I retire from teaching after 20 years?