This has been discussed to death with nothing ever changing.
Here are a few easy pointers...
1. Don't release terrorists like Ehsanullah Ehsan from captivity.
2. Instead of filming pensioners having sex, divert those resources to monitoring terrorist activity.
3. Civilian intelligence agencies should focus on picking up terrorist plotters, finances, facilitators, rather than burgers who tweeted.
4. The resources used to disappear Baloch dissidents could be used to disappear terrorists.
5. Man the border - stop the goat fkers from tearing up the fence and crossing over. We have drones, sensors, cameras - monitor, detect, destroy.