If the guy was breaking and entering then call the cops and get out of the house. Go to a neighbors house for help and shelter. If he is armed then tell that to the cops as well, scream and make as much noise as possible so that you can attract attention from others so they can help you or call the cops.