One way is to use a browser extension or plugin to block ads from appearing on web pages you visit. Another way is to use a stand-alone program that will block ads system-wide, meaning that the ads will be blocked no matter what browser or program you use. Finally, some DNS services also offer ad blocking, which can be configured on your computer or router.