Whether and how you are covered by social security during your stay and employment in a third country depends on your nationality and the regulations of the destination country.