People who suffer from acne will do almost anything to get rid of it, but sometimes the answer is in your refrigerator.

Now, there’s an app that helps you figure out which foods are best for your skin. The free “Diet and Acne” app, created at Northwestern University, uses data from peer- reviewed research studies to show if there is scientific evidence linking foods like chocolate, fat, sugar and whey to breakouts. All you have to do is tap the foods you are curious about and the app will let you know the likelihood of it irritating your skin.

Research in the app shows that dairy and foods high in sugar can lead to acne.

Details about the app were published in the March 2014 issue of JAMA Dermatology.