Most likely not your wifi to blame. Either outdated wifi settings, or you have a virus.
I had a laptop like 10 years ago when I was a newb and visited sites that aren't safe. My laptop also acted weird, wifi didn't work properly, malware came up and such. A factory reset didn't fix it. A guy came in and did a factory reset, virus scans, registry cleaning, defragmenting, name it.
It worked properly afterwards.