How do animals deal with a food shortage?

Animals often deal with a food shortage by looking for food out of their area. This often leads them to areas where humans live. This is dangerous for both the animals and the humans.