You do–one of the benefits of working for the railroad is that your time worked and taxes paid are automatically transferred to the regular Social Security system if you leave the industry and don’t qualify for railroad retirement benefits.