i call this this being "cracked-the-fuck-out" (but thats my personal term). Sit down, somewhere, you can watch tv, you can not. I find that having a laptop or tablet or something and just pointlessly scrolling through shit on places like reddit and facebook helps pass time. you're probably easily irritable, try not to talk to people, unless you feel social. turn off your phone, don't worry about what time it is (unless it really matters like you have some place to be). the most important thing is to realize that all these effects are CAUSED BY THE DRUGS YOU TOOK, and put all the other bullshit aside and ride it out.
first things first, eat. when you have no appetite, make oatmeal, VERY THIN, like a shake, and drink it, trust me its good. also eat fruits, like melons and apples, DONT eat oranges. Mashed potatoes if you need some carb, again, you can make it thin by adding a little hot water.
if you insist on solid food, keep a bottle of water nearby, take a small bite, take a sip of water, THEN chew, avoid acid and duh.. no spicy shit.
smoke some herb if you can (although however sometimes it trips my anxiety), get some benzos if you can, i hate OTC sleep aids because they make me feel like a zombie when i wake up. DO NOT DO DXM, you'll feel all sorts of weird.
if you're already passed out, well.. maybe this'll help on ur next binge