Diarrhea

My 5 month old has had diarrhea for over a week now, does anyone have any advice on how to get it to stop?