The firmness of a memory foam mattress is influenced by temperature.
It usually becomes a little hard when it's cold.
Your body temperature will be enough to soften it. 
You can also leave it uncovered in your room for about 60 minutes to let it gradually soften.