Some of this is luck but

1 & 2. don't raise 88 from MP1, check behind the turn.. look for a cheap showdown unless you are playing against an idiot

3. bad luck.. played it fine

4. here I look for any excude to dump this hand, board texture is aweful but you can hope for the boat.. check the river

5. weak flop bet on that board.. probly has AX, don't give him a free card! Bet the pot both times! (saw he nailed the 4 on river, tough luck)

6. when he reraises it the second time, you can fold it unless you know he's an idiot

7. AT is not a good hand, esp. OOP. Play it slow. Don't raise him. In fact consider folding to a tight plr. Call the flop raise. Check/call the turn and river.