Tips for arguing while living together

Me and my boyfriend are finally moving in together in 2 weeks, we sometimes argue where we get frustrated and I go home and cool off. Well since we are living together and having a baby. What are some tips to work it out? He’s an amazing guy and is wonderful with everything and very understanding but sometimes I think he gets overwhelmed sometimes and doesn’t really know how to handle it? What could I do to help him? Do I just go in the room and maybe tell him to play video games or do I take the dog on a walk and let him be alone or what could I do to help the arguing?