expenses on a loss

Can i continue to write off business expenses even if the company does not turn a profit?