Although natural swarming can help grow your livestock, most of the time it downsizes the opportunity of harvest by depriving the colony 4 to 8 pounds of bees. Also, the swarm’s quality will be altered and uncertain.
For this reason, beekeepers must prevent swarming, and here is a few simple ways to do so:

1 – Change your queens regularly, as large colonies with older queen tends to swarm more.
2 – Plan ahead and come prepared to your apiary, by bringing extra hives and frames with you.
3 – Switch around brood-filled frames, from high-activity hives to low-activity hives to balance out the strength of your apiary.
4 – Add supers in due time, otherwise your bees lack room in the hive and tend to resort to swarming.