AdGuard Home is another option along with the PiHole another commented mentioned. I have that running at home forcing all port 53 traffic to it via the firewall. So ads are blocked on all devices on the network. So easy I sometimes forget I have it running and then I browse on mobile away from home and get bombarded with ads and am reminded why I do it.
They do also have their own paid DNS service, but I haven't attempted to use it. Might be a way to deal with mobile better.