Outlook. Your diet can both cause and treat diarrhea. When you have diarrhea, get lots of rest, drink plenty of water, and start introducing BRAT foods after a few hours. After a day or two of bland, soft foods, you can start to add in foods like lean ground chicken and scrambled eggs.