Question: how long do you have to be on a job before you can retire?
Answer: Since you can earn 4 credits per year, you need at least 10 years of work that subject to Social Security to become eligible for Social Security retirement benefits.