Please follow https://www.irs.gov/uac/hobby-or-business-irs-offers-tips-to-decide.