If you have Schengen Visa you can purchase the Turkey Visa online at E-visa. If you don't have a Schengen visa, you must contact the Turkish Embassy in your country.