How to get bf back

After 3 years he broke up with me over something petty but tbh I really don't think he is finished. And makes it obv he still wants me. He broke up with me cause he says I'm always mad. Should I ignore him or what idk ?