Slow internet with Ubuntu Mate

So, I’m new in Ubuntu mate, actually this is the first Linux distribution that I use.
My internet wasn’t that good with Windows either, but it was ok, I remember that I had 40 mbps of download. I just made a speed test and I have 7 ms of ping, 0.20 mbps of upload, and 20 mbps of download.
I was trying to fix it, so I used this command that I found in this forum.

echo “options ath9k nohwcrypt=1” >> /etc/modprobe.d/ath9k.conf

I’m not sure if it actually worked, because at the beginning after I rebooted my pc the internet was ok, but after a while it came worst than before.

If you need my system specifications, please tell me were I could find them.

System -> Welcome -> Getting Started -> System Specifications -> Detailed (Locate the “Network” section)