Endgame Lessons

So your game made it past the middlegame. You've traded off most of your pieces and you barely have any left, along with a few pawns. What should you do now?