how do I avoid this? it’s happened many times

Sort:
Avatar of InTheShire
[Site "Chess.com iPhone"]
[Date "09/25/2022 02:00PM"]
[FEN rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1]
[White "InTheShire"]
[Black "BrennaBrenna"]
[Variant "chess"]
[Result "Game drawn by stalemate"]
[WhiteElo "225"]
[BlackElo "209"]
[Termination "Game drawn by stalemate"]

1.d4 {5:00} d5 {4:59} 2.Bf4 {4:59} e5 {4:49} 3.Bxe5 {4:53} Nc6 {4:39} 4.Nf3 {4:46} Nxe5 {4:37} 5.dxe5 {4:45} a5 {4:30} 6.e3 {4:41} b5 {4:28} 7.Bxb5+ {4:38} c6 {4:26} 8.Bxc6+ {4:36} Ke7 {4:22} 9.Nc3 {4:29} Ra6 {4:18} 10.Bxd5 {4:21} Ke8 {4:16} 11.O-O {4:04} Nh6 {4:05} 12.e4 {3:43} g6 {3:56} 13.h3 {3:40} f5 {3:52} 14.exf6 {3:30} Rxf6 {3:31} 15.e5 {3:15} Rf5 {3:22} 16.e6 {2:54} Ba6 {3:16} 17.Re1 {2:52} Bc5 {3:10} 18.g4 {2:27} Nxg4 {3:02} 19.hxg4 {2:26} Rxf3 {2:58} 20.Qxf3 {2:20} Qh4 {2:51} 21.Na4 {1:58} Bb4 {2:32} 22.Rf1 {1:52} Bxf1 {2:20} 23.Kxf1 {1:49} g5 {2:09} 24.c3 {1:47} Bxc3 {1:52} 25.bxc3 {1:45} Rf8 {1:47} 26.Qg2 {1:38} Qxf2+ {1:43} 27.Qxf2 {1:35} Rxf2+ {1:41} 28.Kxf2 {1:34} h5 {1:38} 29.gxh5 {1:33} g4 {1:37} 30.Kg3 {1:33} Ke7 {1:30} 31.c4 {1:28} Kf6 {1:26} 32.Rh1 {1:23} Kf5 {1:22} 33.h6 {1:21} Kg5 {1:14} 34.h7 {1:21} Kf5 {1:13} 35.h8=Q {1:21} Kg5 {1:11} 36.e7 {1:20} Kf5 {1:10} 37.e8=Q {1:19} Kg5 {1:09} 38.Qhf8 {1:18} {Game drawn by stalemate}
Avatar of SacrificeTheHorse

You are winning easily so doing what you did is the only way to mess it up. Try to give check on every move to avoid stalemate. The bottom line is though that you are being lazy - you have to analyze what is going on and not blunder this stuff.