They say "if at first you don't succeed, try try again." This quote, in combination with "insanity: doing the same thing over and over again and expecting different results," can really help us learn from our mistakes. This is especially true in divorce. It's safe to say that most people don't go into marriage hoping to divorce. This remains true whether it's your first marriage or your fourth. Perhaps one of the positive aspects of divorce is that it can teach you a little more about marriage.
Divorce can teach you that it's important to marry someone for the right reasons. That means picking someone who is respectful and honest and marrying when you feel ready to do so, not when everyone is pushing you to do so.
Learn to love yourself and protect yourself. Don't ignore your needs or push them back in order to please others. When you learn to love yourself, you may be less likely to marry someone who wants to change you. Remember that your spouse should love you for who you are.
Remember that love is something that both of you have to work on and should both actively show. That means both loving yourself and your partner. Similarly, you should not make your partner responsible for your happiness.
Once married, remember that communication is very important. Ignoring problems that come up in the marriage can lead to more problems in the end.
Finally, divorce teaches you that love is not about money. Love does not become greater or stronger just because your spouse bought you a huge ring or a house.