What do you do in a shooting situation?

So what do you do if you're faced with an active shooter situation?