I would agree on the router too.
I had those kind of problems and a high speed router
fixed it. Then went to a hard line instead of wifi
and picked up some speed also.
Don’t have much trouble now.
The Netgear Nighthawk AC1900. Sure it costs $180 bucks at Amazon. But for getting those upstairs throughput speeds up from 4Mbs to 40Mbs I'm happy.