One strategy is actually to quickly go outside and then immediately dart back into your house. The deer can't kill you while you're inside the house, and will just start running around rampaging for a bit until it calms down again, hopefully somewhere else. By purposely aggro-ing it, you can get the deer away from your house.