If you're one of the many who have turned to a side gig for cash during the pandemic, don't treat it like a hobby. The IRS has strict rules to differentiate between a hobby and a business. Even if your enterprise loses money, it may qualify as a business if it's run like one.