There are a few different ways to get nutrition when you cant eat. The first is through supplements, which can be purchased at most pharmacies. Another option is taking a multivitamin that has iron in it, such as the Centrum line of products. Finally, if you have access to an IV drip, then this could provide nutrition for you until you can eat again.