Sleep help

My baby is just over 2 weeks and he won’t sleep in his cot next to me, he only wants to sleep on my chest at night. I can get him in his cot for about half an hour but then he’s up crying

What can I do? 😩