You can specify whether you want to be alerted to all security and program events, or if you only want to be notified of events that are likely a result of hacker activity.
If you want to suppress most alerts while playing a computer game, see Game Mode.