Apply for a visa at a Turkish embassy or consulate in your home country. Make sure to do this well before you leave for Turkey. It may take Turkish officials several months to process your application. If you have any questions about which visa you will need, ask the embassy officials. Fixing a mistake with Turkish immigration authorities will not be pleasant.