On Linux or Windows? Firefox + uBlock origin (there’s nothing better than that)
On Mac? Firefox + uBlock origin (worse alternative: Safari + AdGuard, since you might synch browser with iPhone)
On Android? Firefox + Privacy Badger + uBlock Origin
On iOS? Safari + AdGuard + Vinegar + Baking Soda
On SmartTV it’s different.
Hardest overall solution that even works on PS5, Switch and other consoles: Get yourself a Pi-Hole https://pi-hole.net/
For WebOS TVs use this: https://github.com/webosbrew/youtube-webos
Android TVs should get SmartTube: https://github.com/yuliskov/smarttube#smarttube-old-name-smarttubenext
RokuTVs got either this thing: https://channelstore.roku.com/en-ca/details/840aec36f51bfe6d96cf6db9055a372a/playlet or the open source alternative: https://github.com/iBicha/playlet
Ad Guard and PiHole won’t block youtube ads because they’re DNS based and youtube ads come from the same DNS as the videos do. I bought a lifetime AdGuard subscription and put it on all our devices and it works well everywhere except Youtube. For that I just use Firefox and UBlock origin to watch videos on my phone and PC. I’ve never been a fan of watching YT on my TV or anything so this works fine for me.