Since you were not an employee of the company or person who paid you, your payment (compensation) is reported on the 1099-NEC instead of Form W-2.
Per IRS Instructions for Forms 1099-MISC and 1099-NEC Miscellaneous Information and Nonemployee Compensation, on page 10:
Self-employment tax. Generally, amounts paid to individuals that are reportable in box 1 are subject to self-employment tax. If payments to individuals are not subject to this tax, report the payments in box 3 of Form 1099-MISC. However, report section 530 (of the Revenue Act of 1978) worker payments in box 1 of Form 1099-NEC.
To enter the applicable Schedule C information:
Please refer to IRS Publication 334 Tax Guide for Small Business for additional information regarding self-employment tax - what it is, who pays it, how it's calculated and reported, etc.
If you determine that this income should not be considered self-employment income (but instead employee income that should have been reported on Form W-2 Wage and Tax Statement), you would need to report the income on Form 1040, Line 1 and file Form 8919 Uncollected Social Security and Medicare Tax on Wages. This allows you to report the uncollected social security and Medicare taxes on your wages.
Note that any link in the information above is updated each year automatically and will take you to the most recent version of the document at the time it is accessed.