Bees get attracted to sweet smells such as smells that emit from flowers, fruits, and floral perfumes. You can easily deter them if you use peppermint or cinnamon sprays.