Arguments?🤔

How should i stop arguing in a relationship? We are PERFECT when we are together. But argue so so much over text/phone calls. I hate it so much, because i always want to be on good terms with the one i love. Could anyone give me some advice? 
We argue because we're both petty, and sometimes just over small things.