What happens next?

How to get a girl back
Give her time alone.
This is the hardest part. You'll reconnect with her soon enough, but for now you need to spend time apart.
Regardless of how the relationship ended, you both probably said things you didn't mean. The wound is fresh, and it needs time to heal.