To avoid getting stung, it's best to keep a safe distance from a bee's hive, avoid swatting at bees, and refrain from wearing bright colors or floral patterns which might attract them. If a bee comes near you, stay calm and slowly move away.