If you truly want to get back together with your ex, you have to do a bit of soul searching. You must be totally honest with yourself. You have to decide if you and your ex get back together it will truly make you happy, and you won't wind up down the same road that caused the breakup in the first place. It's always easy after a breakup to only think of the good times. It's important that you try to be completely objective and think of both the good and bad times.
In reality, there are a few relationships that are unworthy of saving. If you and your ex spent more time fighting than you did doing something good and fun, then perhaps you should consider moving on. f they were physically or verbally abusive, it probably wasn't a healthy relationship. If they were mentally unstable, you probably are better off without them. If the relationship overall was a good one, and they weren't abusive, and they were of sound mind, the following should help you and your ex get back together.
Pestering and pushing your ex isn't a good idea. If you try to constantly get in touch with your ex; whether its by phone, email, text message, or stalking them you're going to do more harm than good. They will see this as a sign of desperation. This could actually push them further away than bring them closer to you.
Don't argue, beg, or plead with your ex about your past relationship. It's easy when you and your mind are all alone. Your mind manifests all sorts of “wrongs” that you may have done. Even when your ex broke up with you they may have gave you reasons why. Now, you're probably beating yourself up over them. You probably wish you had never done those things. The past is the past. This is the present.
If you get it in your mind that the relationship is currently over. You can't go back in time, though you probably wish you could. Concentrate on what is going on now. The only thing worse than obsessively contacting your ex is to beg or plead with them. Make promises how you'll change, etc...This won't help you and your ex get back together at all.
If you back off, give them some time, and live your life, you'll be doing yourself a big favor in more ways than one. You'll probably become more desirable to your ex, because you're allowing them to think about you and miss you. You'll also be helping yourself to live a happier, more fulfilling life too.