It depends. You can decide if it's a business or a hobby, the IRS will consider this as self employment simply based on the Form 1099-NEC (nonemployee compensation or independent contractor). You will have the burden of proof as to whether you do not operate as a business. The information below will provide guidance for you.
A hobby requires you to report the income you received and under the current tax law, Tax Cuts and Jobs Act (TCJA), no expenses are allowed to be used to reduce the money collected even if you itemize deductions.
A business allows you to deduct the costs necessary to obtain the income. The law explains that 'you must be engaged in the activity to produce a profit'. The test under IRS tax law is that you must show a profit three out of every five consecutive years to be considered a business.
Once you decide what type of income this is you can use the links below to see how to report.