Electric fencing and strong, sturdy coops are the only ways to deter bears. We have bears too but they don't seem to be as much of a problem as hawks and raccoons.
Raccoons generally come out at dusk and night so you won't have to worry as much about them if you free-range. With raccoons, you may have to worry more about the coop design.
Make sure you have secure locks on your coop door. Raccoons have nimble fingers and are able to pick open simple locks. Either of the two "YES" locks in this pic are great as they require 'multitasking' or are 'two step' locks. I use both types. On the nest boxes I use the lock on the far left ('NO') but I have a second lock as well, a simple wooden block that you turn to open the box.
Using 1/2'' hardware cloth is important too. Chicken wire is just not as strong, and coons can reach through it and grab chickens, not to mention the rats etc that could get in and eat the feed. HWC is more expensive though, so it's your call.
To predator proof your coop against hawks, simply put a solid roof or HWC on top of the run so they can't swoop down and get them. While free ranging, hawks can be an issue though. Your best bet is keeping alert chickens, and having lots of vegetation for the chickens to hide and get away.
Another thing that will deter digging predators such as foxes and coyotes, is to put a HWC 'skirt' around the perimeter of the run, extending about 1' out. We cover ours with dirt, but that's not necessary.
I watch my chickens while they free range and have a secure coop and run. We have never had any predator issues yet, owned hens for >6 years.
The bears can really only be deterred by hot wires. You can protect against hawks by keeping your flock enclosed in a covered run.
I have both of these predators as well. My flock has both a completely enclosed run with hot wires around it and about a 1/4 acre pen enclosed in poultry netting. There are places they can get under shelter in the pen to avoid aerial threats. No losses so far.