What do you do in an active shooter situation?

When do you run, hide or fight during an active shooter situation?