Give It Some Time
Give yourself, as well as your ex, some time before you start initiating contact. Leave a gap of at least three weeks, so that both of you have enough time to think things over. If your ex is really hurt, the time apart will help them heal. This way, when you do initiate contact to get your ex back, at least they'll respond to you.