You can play by yourself, but it's more fun with two or three players. Shuffle the pack and place it face down. Set a target score for the game, for example 100. However, if an Ace or King is turned over no points are scored at all , and the turn is finished. Now the second player starts turning over cards in the same way.
Players continue having turns and building their scores until someone reaches the target score.
This player is the winner. If the cards are all turned over before the target is reached, just reshuffle the pack and continue.