What could be wrong with my gaming pc? please help 10 points?

every few days, the usb port for my mouse and keyboard will randomely disconnect so i have to unplug the mouse then plug it in again to fix, also often the wifi will just randomely drop for no reason and i have to wait for like 5 minutes for it to find the wifi again

yes i restarted my computer
3 answers 3