You should look into a therapist who specializes in dbt and trauma.
A therapist will help you work through these emotions and teach you how to handle yourself. There isnt a simple solution or attitude change that will reverse your behaviors. It is okay, though.

I struggled with similar problems and it took me several years + therapy to make my relationship healthy.