Pakistan is not a common destination for a solo female traveler. Visas can be difficult to obtain and most governments have strongly advised against travel there. Visas can only be obtained from the embassy in your country of origin, so if you are planning to travel there first, contact the Embassy of Pakistan in your country.