When something traumatic happens, most people try to justify what they have done by talking their heads off. In the process, you may say something that can be misconstrued or worse, be incriminating. LEOs will try to get you to talk because that is how they are trained.
Your job is now to avoid losing your freedom and everything you own or will own in the future. The perp who just tried to rape you will suddenly become the lead in the church choir. Avoid spilling your soul by suddenly having chest pains that will require hospitalization and at the same time call that lawyer. DO NOT SAY ANYIHING about what happened until your attorney arrives. If you call 911, do not say "I shot someone".
Instead, say "there has been a shooting" and give the address and your name.