Wasps are attracted to trash, bright flowers and sweets, such as fruit or candy. Take out your trash regularly and minimize the number of colorful flowers near your home to deter wasps.