How do you trust again in a relationship?

I’ve been single around 6 months. After my husband cheated and we split up… Its been hard amd sometimes so bad I’ve wanted to curl up in a ball and just sleep… It took me months to be able to laugh and actually I’m much better now… The ex would harass me everywhere I went…I’m actually wanting to get out there and date… . How do I trust someone else again…