DEET works, but is also not exactly healthy and does irritate both skin and mucus membranes. Also, applying DEET over sunscreen reduces the effect of the sunscreen by about 30%. Unless you are in a tropical environment with dangers of Malaria carrying insects, (P)Icaridin is a good alternative: