I too have been held up at gunpoint in my own home. I immediately put in my notice to leave the job I had so I could move to a job in a different country. My nerve was gone for many months, but as soon as I left that country I was no longer as depressed and distressed as I had been. I reported it to the police, but never heard if he was caught. I am not paranoid now, but if I have ( say) to cross a park at night, I carry my bunch of keys closed inside my right hand with one finger looped through the keyring. If I were to smash that bunch of keys in an attacker's face, I am sure I'd get off - even if I managed to blind him. I do have door-bolts and check them very carefully. I also have a constant light in the middle of the house, which might deter an intruder. This self-charging light turns into a torch when removed from its bracket, or if a power-cut happens. I also keep a very powerful torch beside the bed - which could gash a nasty hole in a nasty skull, I suppose.
If necessary.
I am now quite calm about the robbery, but it took a long time and a huge upheaval.
Mind you, in the next country I worked in, I got into a war, but that's another story.