If you are dealing Winning Deals, every game is winnable and has a solution. You can press on the gold star, tap the Show Me How To Win button and see the game played out, then replay the game.
Random Deals have millions of variations. If you get stuck, undo moves back to another starting point and try another route.