You must be very careful what you do at that age. The babies immune system will be forming and taking risks which could affect it's immune system and could have life long consequences. You have to be so careful at that age.
A more topical treatment might be best. Where is the infection?
Probiotics meant for babies might be a good idea but they must be suitable for a child of 6 months of age.