I recieved a 1099-nec the end of 2020 for a job that started January 2021. How do I claim that on my taxes since I did not recieve all the money in 2020?

I earned only a small part for the end of December 2020, but the rest I did not earn until January/February 20201.