How to stop terror attacks:
Catch the terrorists, including the leaders, trainers and financial supporters. Send them to prison, forever if necessary. Deny them martyrdom by whatever means necessary
Confiscate their personal property to use for restitution. Make it a huge risk to commit acts of terrorism.
When the Samurai tried to disarm th peasants, the peasants invented karate. Disarming people doesn't stop violence.
When terror isn't punished, the terrorists win. There will be more terror.
When we lose freedom due to terror, the terrorists win. There will be more terror.
I don't own a gun. If a terrorist comes after me, or my family, it (sic) will come out second best.