When that happened to us, we gave him probios , wormed him again and gave him only hay for 2 days. That combo worked for us.
Im sure some of the more experienced will chime in and be able to help. How long has he been off feed and anything else that would show signs that he maybe getting sick ?