Be solitary. You need that space and time for dreaming, and mulling things over, and connecting the dots, as well as the creative act itself. These things require deep concentration, which you will not get if someone keeps interrupting you to offer you almonds or ask to have sex with you or talk about Spongebob. (Why Spongebob? I don’t know. It just came to me.)
Be social. We need that thrum of energy, that cross-section of perspectives. Creative work happens in solitude, but creative idea-gathering tends to happen in the world.
Feed your head. Don’t leave inspiration to chance. Schedule it in. Establish a creative routine, then step outside of it. Mix it up on a regular basis. Seek out sources of influence. Force your brain to think in new ways. The brain is a lazy brain. It will go on automatic if you let it, so it can sit on the couch and drink a beer and watch some godawful reality TV show featuring annoying housewives.
Steal ideas from everywhere you can find them, and then recombine them in new and interesting ways. Take ideas from a field or discipline as far away from yours as possible, and then find ways to apply those ideas. People will think you’re a genius. Or nuts. Or nuts, and then a genius.