There are some important things you may need to learn in order to get a better game. It will not necessarily give you success or win, but a may improve your game.
An imbalance is where white or black has a weakness on the board.
At this point black moved 12...e4 and with this move black was trying to get material by threatening the rook and the knight at the same time. White shouldn't be too worried that he is losing material because after black gains what he wanted (which was material) his position will be bad and will have many imbalances as you will see in the next position.
Black to move
Now black ahead in material, but there are many imbalances. If we actually look at blacks point of view then black is losing because his kingside is exposed and the d-pawn is isolated. Now blackplays 14...Ne7 retreating his knight to a safe square, but once white goes 15.Re1 black cannot defend the d-pawn and may have to give it up.
Black to move
White has just moved 17.Qf6! an idea of Bc3 and checkmate the black king on g7. There is almost no way to stop this attack unless black sacrifices his queen for the Bishop, but black did 17...Rfd8?? a blunder black thinks he could give a escape route for his king, but it really does not. White follows his plan 18.Bc3! The game ends here, this is a clear win for white and black cannot do anything, but black decided to play on. If you want to see the whole entire game then scroll a little bit up right before I started explaining about the game.