Post shooting drill is; call 911 (if you have not already) and be prepared to meet them when they arrive, unarmed and hands up. But do not disarm yourself - nor drop your guard until the police do arrive, in case there are more badguys around and attempt a second visit or appear from a hiding place. When calling 911 give a physical description of yourself and how you are dressed; this will aid first arriving police in clearly identifying you as the caller.
As for the legalities, research this and other forums and you will find this topic well trampled. The bottom line is to make sure that any use of deadly force is justified under your state law and in accordance with it.
But in an antagonistic encounter, do not worry about anything else except your own survival first (and that of your family), and that any shooting is a justifiable shooting under the law. If you keep that in order, the rest is secondary and can be worried about later. I believe there are various types of prepaid legal services or insurance you can take out if you can afford them, and that topic too is no doubt searchable on this forum as well.
As for the legalities, research this and other forums and you will find this topic well trampled. The bottom line is to make sure that any use of deadly force is justified under your state law and in accordance with it.
But in an antagonistic encounter, do not worry about anything else except your own survival first (and that of your family), and that any shooting is a justifiable shooting under the law. If you keep that in order, the rest is secondary and can be worried about later. I believe there are various types of prepaid legal services or insurance you can take out if you can afford them, and that topic too is no doubt searchable on this forum as well.