There are two ways to solve this problem:
1, don't turn, just turn when you find a new unit to pay social security!
2. When you pay 15 social security before retirement, the Social Security Bureau will combine the social security years of your two places and apply for retirement at your domicile; If you have not paid the social security fee 15 years before retirement, the social security bureau will refund the social security fee that has been paid to you.
If in doubt, please consult the public education enterprises in China.