I'm completely at ease when recording at home. It's one of the most enjoyable aspects of being a musician.
Usually in someone else's studio I'm okay too, but if there's a difficult personality producing I can get kind of stressed out. I've seen one in particular who was erratic, sweaty, and temperamental. Luckily he sold his studio.
Tips? Preparation, practice (including practice at recording), rest, hydration, comfortable seating, decent lighting, good headphone signal, thorough warm-ups, no time restraints, starting on time, mature relationship skills, no distractions, no hangers-on in the studio, no drugs or booze, frequent breaks, stretching...