1099NEC

A friend hired a contractor to renovate her home, he was short on help so paid me to do 2 rooms. I received a 1099 NEC for the amount he paid me but that amount was for labor and materials. I do not have a business, this was a one off situation. Where do I subtract out the cost of materials, which accounted for over 1/2 off what I received?   thanks!