The baby has been experiencing mild diarrhea for the past five days, occurring once or twice a day with yellow, runny stools, accompanied by undigested food and a sour smell. Occasionally, there is a slight regurgitation. What could be the cause? Is medical attention or medication needed? What dietary precautions should be taken?