Avoid smelly food like bacon and smoked fish. Keep food smells off your clothing. Burn garbage completely in a hot fire and pack out the remains. Food and garbage are equally attractive to a bear so treat them with equal care. Burying garbage is a waste of time.
Bears have keen noses and are great diggers.
If a bear approaches while you are fishing, stop fishing. If you have a fish on your line, don't let it splash. If that's not possible, cut your line. If a bear learns it can obtain fish just by approaching fishermen, it will return for more. Give the bear every opportunity to avoid you.