Probably scare it with a loud noise, make myself as scary as possible and try and fuck it off away from my house. Bears are actually very shy when they're just going where they are going and looking for food and shit.
If it was a cool bear I'd play a balalaika for him or something. Bears appreciate the finer things in life and sometimes will just sit in the wilderness and stare at mountains and stuff, just appreciating things it would seem.
But come on to my property with a foul attitude and I'm bringing out the symbols and pots and pans!