Life Changes

I sold a house which was owned jointly with my ex husband. We divorced right after. I did a side gig for a few months. What is the best way to file, itemized deductions or take the standard deduction?