Baby will only sleep on me

Martha

Anyone dealing with or dealt with a baby who refuses to sleep anywhere except on you? I don’t know what to do I can’t function without sleeping but I want to be safe.