Sometimes we need to do something rather than nothing regardless of wanting to or not. I find it helpful at times just to get out side and go for a walk. Once I am outside I tend to do a couple of things that I didn't even think of.
Were you given the option of calling the hospital that you were in and talking to some-one who is there and getting some moral support. If the hospital gave you a list of things to do maybe you could just start with one thing on the list. It doesn't have to be a big thing.