I feel you. I experienced that too and I lost count how many times my heart had been broken. But you know what? I did not stop loving. After a failed relatioship, I usually give my heart a time to recover and usually my recovery time is 1 to 2 years. Yes, that long... but I don't mind because by that time I can surely say that I've healed and ready to give love another try.
Learn from your past experiences and remember that there are no mistakes in life just lessons to be learned. Goodluck and may the force be with you, hehe!!