How to have newborn sleep in her own crib

My newborn cries every single time when sleeping in her own crib. But when she is with us, she stops. Please help. What did you do?