Include bananas and apples in your diet to help you get rid of dandruff. Apples are excellent for reducing your chances of dandruff. To maintain your hair healthy, eat some on the move, add some to salads, or apply some apple juice to your scalp.