My first hand historys posted both happend moments ago

Hand 1: was wondering what to do preflop reriase like i did or just call or what? i tied that hand he had AK aswell

Hand 2: I 3 bet then miss flop what do i do? i figured he had a pocket pair?

PokerStars No-Limit Hold'em, $0.25 BB (6 handed) - Poker-Stars Converter Tool from FlopTurnRiver.com

Hero (UTG) ($31.70)
MP ($54.05)
CO ($25.55)
Button ($13.70)
SB ($25)
BB ($27.15)

Preflop: Hero is UTG with K, A
Hero bets $1, 1 fold, CO raises to $2.25, 2 folds, BB calls $2, Hero raises to $8, CO calls $5.75, 1 fold

Flop: ($18.35) K, 2, 2 (2 players)
Hero checks, CO bets $17.55 (All-In), Hero calls $17.55

Turn: ($53.45) A (2 players, 1 all-in)

River: ($53.45) 5 (2 players, 1 all-in)

Total pot: $53.45 | Rake: $2.60