Please help me Explain how a firm suffering losses in the short run decides if it should continue production

It should consider continuing production if it believes it will profit from long-term growth.