Prime Minister Tony Blair of Britain and President Pervez Musharraf of Pakistan agreed Sunday to strengthen their nations ' cooperation on counterterrorism and other fields , and they stressed the need for political and economic measures along with the use of military force to bring peace in Afghanistan .