Your son appears to have a gastrointestinal infection
. Usually there is no requirement for medication for loose stools for baby of 6 months. You can give home-available fluids to prevent dehydration
and soon loose stools will stop. Try giving dilute lemon juice, tender coconut water, milk, ragi porridge. Best solution to stop diarrhea
will be Oral Rehydration Solution or ORS
which is produced by WHO. You may dissolve one sachet in a litre of previously boiled water and give your baby as much as he likes to drink. This is very good treatment for diarrhea and prevents dehydration very effectively.
If the diarrhea does not stop or your baby is becoming weak, no tears on crying or less urine output, kindly take him back to Hospital as he may need intravenous treatment if dehydration is severe.
Wishing speedy recovery.