If 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.
See the IRS Instructions for Forms 1099-MISC and 1099-NEC for details.
To enter the applicable Schedule C information:
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 webpage or document at the time it is accessed.