Former chief minister and National Conference president Farooq Abdullah on Monday lashed out at Pakistan for perpetrating terror attacks in Jammu and Kashmir, saying Islamabad will have to stop terror incidents here if it wants to have friendly relations with India.