Best thing you can do is buy Silman’s complete endgame course. But if you prefer study by YouTube or chess.com lessons I would day learn the basic endgame patterns and make sure you can apply them without doubt. Like K and Q vs K, 2R vs K, 1R vs K. And try to get a grip on K and pawn vs K (not easy). Make sure you understand and see stalemates.