Simple!
Shotgun + rock salt.
Shotgun + fine bird shot.
After these two fail to stop your attacker, Shotgun + buttstroke.
Next, your are too late to use the buckshot loads.
When I was in my teens, we had a real problem with trespassers. I kept my double barrel shotgun with a shell with no shot (just noise) and the other with #8 shot. Since it had a single trigger, there was no problem making an accident. I had to shoot the "no shot" shell a couple of times, but never the #8 shot.
If they really want you, then they can probably figure out how to do it. But most will move to easier pickings.