Getting booted out mid-game is frustrating. A good first step is to improve your internet connection, since many disconnects trace back to unstable networking.
Upgrading your computer's memory can also help, as more RAM lets games run more smoothly and reduces crashes during demanding moments.