Carry in your memory, for the rest of your life, the good things that came out of those difficulties. They will serve as a proof of your abilities and will give you confidence when you are faced by other obstacles.
We learn in the past, but we are not the result of that. We suffered in the past, loved in the past, cried and laughed in the past, but that's of no use in the present. The present has its challenges, its good and bad side. We can neither blame nor be grateful to the past for what is happening now. Each new experience of love has nothing whatsoever to do with past experiences. It's always new.