How do you analyze a company’s balance sheet before investing?

Could you describe how do you analyze a company’s balance sheet before investing? step by step?