Robbers typically launch their attacks from the backdoor (normally kitchen doors) because they are usually not fortified. Get good doors for your kitchen. Use crossbars at the back or "burglarproof" behind the doors inside the house. If you have keys to the burglarproof, never leave them inside the lock. Where possible, use a padlock in addition to the keys. The purpose is to make it as difficult as possible for the robbers to enter into the house and to buy you time to call somebody for help.
When you hear someone breaking your doors, unless you are absolutely sure your actions will prevent entry into the house, don't try to be a hero by pushing back behind the doors (they may shoot at you through the doors), or putting heavy items like freezers or furniture behind it (they get more angry and when they are able to finally enter they are more likely to be violent).
If you sleep without clothes or with minimal clothing, dress up as soon as you hear them. For the women especially, don't stay in your nighties or wrappers, wear trousers and an ugly top.
If you call someone on the phone for help, keep the phone far from you as you don't want it to be known that you've done so.
Look for your main power switch and plunge the building into darkness (it disorients them and may cause them to run away).
If you have a gun, registered or not, use it but only if you're sure you will do damage. This isn't the time for warning shots! Killing an intruder on your premises in defence of yourself and property is a legitimate legal defence. Same goes for the use of any other weapon e.g. knives.
When the robbers manage to enter give them whatever they want. Don't hide anything. Don't try to be a hero or to negotiate with them.
Don't look at them directly (or don't let them see you doing so). If you know any of them don't show any signs of recognition and don't mention the person's name. However memorise whatever features you can to help with identification and investigation.
When they finally leave your house do not chase after them..
Be your neighbour's keeper and if you hear any breaks in at their house, call the police for assistance.
When robbers enter your compound, do not put on any light in your room. Put on the outside lights but keep the inside lights totally off so that the robbers do not see you.
Someone may need this!. Pls spread the news to family and nd friends.
If you are in the US, I highly recommend equipping yourself with a firearm, and help to speed the intruder along to Nature's inevitable conclusion.