First, know that it's normal to have trouble sleeping in a different bed the first few days.
You're in a completely new environment and subject to conditions you're not used to — say around more people, a different noise level, or a less-than-optimal mattress.So, if you have just bought a new mattress and are experiencing some discomfort, then do not worry,
it most likely just hasn't had enough time to adjust and conform to your body. Think of your new mattress as a new pair of shoes, you both need time to adjust and achieve optimal comfort.