Cat constipation help!

This has gotten me so sad and anxious so any words of advice would help me so much.

My cat Checkers is 9 years old and otherwise in good health. On Friday night, he ate his wet food and dry food; after that he was throwing up white foam and was constipated (straining in the litter box, licking his rear). He had stopped eating Saturday and today is now Sunday. I took him to the vet, they gave him an enema, fluids and anti nausea meds. He had a pretty big bowel movement. Today is still Sunday, he’s finally drinking some water but still not eating whatsoever. Im practically begging him to because it’s been 2 days now that he hasn’t eaten. I’ve heard cats can develop liver failure because of this and I’m so unsure what to do at this point to help him. Im just glad he’s drinking water. He’s been slightly more lethargic than normal as well

Any and all advice helps Thank you…