A:
If the child died because of the reason you mentioned, that you gave him an incorrect dose of medicine, you have to
make Kaffarah. That is done by setting free a Muslim slave. If you are unable to do so, you have to fast two successive months as a Kaffarah of involuntary manslaughter.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.