Retirement tax questions

We first need to determine if you are a "Nonresident Alien" or a "Resident Alien".
What year did you arrive in the US on your F-1 visa?
Have you been in the US every year since then?
Are you married?  If so, is your spouse a US Citizen or Green Card holder?

Your question is a bit unclear.  Did your employer withhold Social Security and Medicare taxes on your W-2?