Sailing from Spain which continent would you reach?

It depends where in Spain you are sailing from and which direction you are sailing in. The answer can be either Africa (due south from mainland Spain), Europe (due north from Ceuta or Melilla), North America (due west from mainland Spain - specifically Galicia), or South America (southwest from mainland Spain).