I am contractor hired a sub contractor to do a job, he messed it up. Where can I write off the labor It took for myself to fix the job? Was 2 weeks of my time worth 6k?

6 grand in Labor and 2 weeks of my time to fix this job so I didnt get sued. Where can I write this off at?