Use scent deterrents: There are a number of commercial products available that can help to deter yellow jackets. These products typically contain scents that yellow jackets dislike, such as peppermint oil or citronella oil.