This is generally true for Washington State. But, be aware--check your local laws, too.
1. Read RCW 9.41 concerning firearms. Insure that you know where you CAN carry, and where you CAN'T. Good rule of thumb--if there is a sign on the door saying you must be 21 to enter, you usually cannot carry there. Also off limits are: Federal buildings, court houses, police stations, and most city, State, or Federal facilities.
2. BEFORE you carry, I highly recommend that you buy and read the book, "In The Gravest Extreme", by Massad Ayoob. Also, consult an attorney, and have them explain to you about the situations and circumstances under which you can use deadly force. Be aware: even drawing your weapon can be considered use of deadly force.
3. Don't even think about warning shots. You can be arrested for reckless endangerment for capping one off into the air. Also, forget about "shooting to wound". In the eyes of the law, there is no such animal. If the situation has deterioriated to the point where you must shoot, it is considered using deadly force, whether you hit center mass, in an extremity, or miss altogether.
4. If you DO shoot, you should: a. Call 911, request an ambulance and police response. MAKE DAMNED SURE YOU IDENTIFY YOURSELF IN THE SMALLEST DETAIL TO THE DISPATCHER. Remember, when officers respond, the only thing they know is that there were shots fired.
5. Call your attorney.
6. Right before the officers arrive, it would be a VERY good idea to safe your weapon, and reholster it. DO NOT GREET THE POLICE WITH A GUN IN YOUR HAND.
7. OBEY THE COMMANDS OF THE OFFICERS IMMEDIATELY, AND WITHOUT QUESTION. Do not reach for ANYTHING. You will most likely be proned out, handcuffed and searched. Do not take this personally; the officers must ensure their safety, and the safety of those around them.
Yes, you WILL have your weapon taken. You MIGHT spend some time in jail too, unless the circumstances are so crystal clear concerning your use of force that the officer and their supervisors can exercise some discretion.
NEVER, EVER, MOVE ANYTHING AT THE SCENE OF A SHOOTING. If your assailant had a weapon, your best move would probably be to stand over it, or right next to it. DON'T LET ANYONE ELSE PICK ANYTHING ELSE UP, EITHER. This includes spent brass, rocks, trash, etc.
Again, your best bet for up to date information is to contact an attorney dealing in criminal law. They can tell you of any changes in case law or published law that might affect you. Your local prosecutor would be a good place to start.
Good luck, and stay safe.