Need some relationship advice…

Not just for my relationship but for myself… my boyfriend and I have been fighting a lot lately and my attitude and some of the things I say are to blame for us fighting also the fact that I try to leave and go back to my moms (which is 4 hours away) every time we get into a argument over the littlest things which makes things so much worse but this time I actually made it to my moms and I feel absolutely horrible I know I need to change my attitude and the things I say and the fact that I always run when things get a little bad I just don’t know where to start if anyone has and help or advice for me I would really appreciate it!!