It seems that your son is having acute gastro-enteritis
givning rise loose motions and high temperature.
He requires urgent medical treatment to prevent dehydration
and having high fever
and get examined.
He may require antibiotic medicines.
To prevent he may need IV fluid as well.
Meanwhile give him paracatamol syrup 4-6 hourly.
Give him plenty of water.
Ok and take care.