As TeUnit says, getting better will help a lot. You also want to pick formats that lend themselves to lower swings. If you play tournaments/SNGs, the fewer the number of entrants and flatter the payout structure, the lower your variance will be. The best are usually heads-up SNG and double-or-nothing. The worst will be large-field MTT.
Important Note: Do not change your style for the purpose of lowering variance. Usually you will just end up lowering your winrate instead. Winning poker requires embracing the natural swings in your game of choice 🙂