1099 NEC

I did some work for a client and I used a subcontractor for some help. the client issued me a 1099 NEC and I issued a 1099 NEC to my sub but how do I reduce my income for the sub that I paid and 1099 that I issued?