There are many free firewall software / freeware out there.
I use Kaspersky firewall, and it is good to block ads.