Broken up with

Gigi
I was broken up with by my boyfriend of 8 months. I'm unsure of what to do. He did it over text and then was really mean the rest of the day as we talked but his morning he texted me that he wants to get back together.. What should I do?