Toxic

What do you do when you realize you are the toxic one in the relationship? I say I’m going to change then I do the same stuff. We have a 5 day old son together I’m not trying to lose my family. (Please no rude comments just need advice)