In my opinion:
Short Term Solutions
1.) Human rights ministry needs to set a criteria of what can be considered as a "radical idea".
2.) People who are spreading radical ideas need to be identified and watched. PEMRA should be directed to ban TV coverage of such characters, and they should not be given any government protection or spaces to conduct their events.
3.) Government of Pakistan need to work with social media like Facebook and Twitter, and prevent hate speech being spewed by identified radical people.
4.) The government needs an empowered Islamic council which will have the purpose of countering the ideologies of radicals like Khadim Rizvi using Islam. Religious scholars all across Pakistan should also be invited to endorse the Council. Religion is a "language" that resonates with Pakistanis, and using religion to counter radical ideas is the best way to get a message across. The Islamic council will have the purpose of promoting a more traditional tolerent, just, and equal Islam, based on the Medina Charter and the true teachings of the Prophet. False narratives against other sects and religions also need to be countered by the Islamic council, and interfaith events should also be promoted to encourage interfaith harmony. A focus should be on a common ground approach between all religions.
5.) Children who have been a part of violent extremist groups should undergo full rehabilitation and education. Adults need to be looked at on a case to case basis, those involved at a lesser level should be made to go through rehabilitation, while more extreme cases must be dealt with by the law.
Long Term Solutions
1.) Education system should be reformed, and Islamiyat curriculum should have a focus on core Islamic values as well as Islamic values of tolerence, equality, and justice. Islamic stories and history taught to have a focus on examples and cases of tolerence, equality, and justice exemplified by the Prophet and other significant Islamic figures. Students should also be taught the common ground between Islam and other faiths, especially Abrahamic faiths. Students also need to learn Quaid e Azam's vision for minorities, and his speech about minorities should feature in the curriculum. Jihad in the form of holy war should be removed from the school curriculum and jihad in the Islamiyat curriculum should instead be taught to be a general struggle against evil, external and internal.
2.) Youth also need to be given something to do. Youth get into extremist groups due to lack of other opportunities. I think a lot of work needs to be done in giving youth opportunities to play sports, learn music, learn art, join different types of after school clubs, etc.
3.) If the people are given more opportunities to work and education, there will be less people going to extremists for help, and there will be less time to think of extreme ideas.. The government needs to create jobs urgently, and a focus needs to be on technical education, which should also be open for adults too.
4.) Mosques and Madrassahs must be subject to government scrutiny. If any are found to be spreading radical and hateful ideas, strict action must be taken against them.