What more could be done to prevent mass shootings?

Gunmen opened fire last week in Orlando and at Fort Hood, Texas. More than a dozen were killed and dozens more were wounded. What more could be done to prevent mass shootings?