If cards are tied for rank (low to high: A-K), they draw again until one card is lower. Normally for game of Cribbage, each player would cut the deck and reveal the bottom card of their deck and the player with the lower card would be dealer.
In Cribbage, the goal is to get to 121 points for a long game or 61 points for a short game.