How does a company survive economic downturns?

How does a company survive economic downturns? Does marketing play a key role in the success of these service companies during difficult economic times?