Packet loss, if it’s happening often and for long periods of time, will make it so your client can’t respond to the Overwatch server and cause a disconnection. It depends on where the packet loss is happening when it comes to fixing it. Are you playing on WiFi? Technically, this is not ideal for a game like Overwatch. Have you done the steps pinned at the top of the forum for the WinMTR?
If you need help interpreting the results you can post them here.