obsession with my husbands affairs

am so obsessed with my husbands affairs that i cant sleep, how can i overcome that?