Do your best to stay hidden or escape if you think it's possible. Avoiding confrontation is the safest option when someone is breaking in.