I am terrible at sleeping anywhere that is not my home. Some tips:
1. It definitely gets easier with practice. This is essentially exposure therapy.
2. Leave yourself lots of extra "sleep time" for lying awake with insomnia. Maybe 12 hours for "sleep" instead of just 8.
3. If you are like me, you may have a panic attack. It's not the end of the world. Breathe deep and slow. Positive self-talk.