Question: how to fix packet loss?
Answer: Check connections. Check that there are no cables or ports badly installed, or deteriorated.
Restart routers and other hardware. A classic IT trouble-shooting technique.
Use a cable connection. ... 
Keep network device software up-to-date. ... 
Replace defective and inefficient hardware.