This belongs in the Game Analysis category.
Anyway, you played a bad opening. He moved a bunch of pawn and left yourself with lightsquare weaknesses. You let his knight have a holiday near your king for a number of moves. Then surely he ended winning material and ganging up on your king.
The guy that mades the most stupid errors/mistakes in a single chess game since its creation.....