You could start by thanking your lucky stars that it was ONLY two years. Mine was closer to twenty!
I do not look at it as that part of my life wasted. I prefer to look at it as an education. I learned a lot of (painful) lessons during those years. It's only a waste of time if I ignore them.
L