How do you stop being petty?

Everybody can be petty, but I have learned that I can be really fuckin petty with my husband. We got into a big argument and he told me he’s close to giving up. He still told me he loves me but he’s getting exhausted.

I am bipolar and I think I might have Adult Separation Anxiety Disorder also.

How can you make it just stop?