Where to apply for a national visa?

My place of residence My visa application should be submitted to
Pakistan
Afghanistan
Visa Section of the Embassy of Switzerland in Islamabad