Ban the weapons of mass destruction that are used to perpetrate these heinous acts. There will always be heinous people. Frustrate their ability to obtain the weapons to commit heinous acts. Rampaging with a baseball bat is much easier to stop with fewer fatalities.