You can use some ways to be free of ads on YouTube. One of the best and safest ways is to purchase YouTube Premium, and the second way of getting rid of YouTube ads is with ad blockers; you can use ad blockers such as AdBlock Plus, uBlock Origin, or AdGuard.