If the ads you see are found at the end of blog posts then provided you see this link small About These Ads link what you are seeing is WordPress.com generated advertising.
WordPress.com does not use text enhance or text link ads or pop-up ads or links in comments. If you are seeing those then that’s a browser-ad-on issue, or in some cases, it’s embedded into free games downloaded from the internet. See here: Bloggers: Beware of Adware.
If what you are seeing whenever you save or update a post or page is an automatically added code/script block at the end of posts and pages that you can’t delete then see here: Malware Targets Macs and Windows PCs