Terrorism is a tool, an action. Can't do much about that. But what we can do is examine the causes of it, what draws people towards violent extremist ideologies in the first place, what the risk factors are, what the social factors are, etc. and then we can use that data to solve the problem at the root of it. From what I know, violent extremist movements are highly correlated with poverty, unemployment, lack of prospects for the future, lack of education, a sense of disenfranchisement, etc. Bombing people and terrorizing them back is just completely stupid and sadistic. That's no answer at all, unless you're sick in the head and actually want to make things exponentially worse. This can only be addressed with peaceful means.