Newborn co sleeping

My newborn will not sleep at night unless he’s with me, any advice to make it more safe and less stressful?