Black Head is likely with bright yellow diarrhea. Anything that affects the liver severely can cause that but it's a pretty standard symptom for BH. If he's at the point where he's not eating, and is lying down, stop feeding him pellets and grain as this is making it worse, because they're hard on the liver. No corn, no red sorghum, no cooked fats or proteins.
Millet, green grass, rolled oats, raw proteins and some raw fats, are all good. But let him fast for now, don't forcefeed him, his liver is damaged. IF it's BH, that is, there are some other things it could be, but BH is the most likely.
If you can get raw cow's milk, get him some; give him a cupful of the milk, after you've let it sit for about an hour and scraped the fat off the top and mixed in a teaspoon of honey. That's what I used to treat my turkeys for BH, it worked in the vast majority of cases. The chooks never needed treatment, I think it's because I fed them hot things like garlic etc so regularly it burned the oocysts that usually carry BH into the body and protect it from digestion.
Because cooked fats and proteins are harder on the liver, and extra hard on a BH sufferer, I wouldn't recommend you try cooked cow's milk (the normal stuff you buy from shops that's homogenized and pasteurized). But, I'd theorize it's maybe the calcium-magnesium and honey that is more important than the fats and proteins in the milk, so you could try substituting those ingredients from elsewhere in water; however I don't know why the raw milk and honey drink works like magic so I can't really give you any substantial advice on an alternative.
You might have to dip his beak into it to get him started but most of them just go for it without encouraging.
Best wishes.
[thanks a lot. Would youghurt gonna help]