Try changing your phone or PC's DNS server, because often the problem isn't your connection but your internet provider has slow or overloaded DNS servers. Use 8.8.8.8 (Google) or 1.1.1.1 (Cloudflare) instead of the default ones. It's something people almost never try and sometimes it fixes everything, especially if you're getting sporadic disconnections.
That said, the others are right that 50 Mbps in an app doesn't tell you anything about real stability. What you need to do is open a terminal (cmd on Windows or terminal on Mac/Linux) and run a constant ping to a server, like `ping 8.8.8.8 -t` for a few minutes while you're on Discord. If you see packet loss (a percentage will show up at the end) or really high latency spikes (numbers like 200+ ms), that's your culprit. Discord needs a stable connection with low latency, not necessarily a fast one.
Another trick that works: temporarily disable any VPN you have running, because some VPNs are a nightmare for Discord. And if you're using wifi, move closer to the router or try ethernet cable if possible, because wifi can be finicky depending on interference or how many devices are connected. Sometimes everything in your house is saturating the bandwidth.