Quoted from Wickerman2:Newer PC as well, had it just a few months
What brand PC?
Do you have an antivirus/firewall?
Load Control Panel (you can use windows search to find it on your machine) and go to uninstall program, then click at the top of the date column to sort by the install date of the programs on the list. Were any programs listed as installed around when you started having this problem? If so what is it?
If your file system's screwed up, it can cause these issues if it's NOT an infection. You need to run the system file checker. There's a post on how to do it here:
https://forums.tomshardware.com/faq/how-to-scan-windows-10-files-with-sfc-scannow.2498567/