My son refuses to sleep in his own bed

He just wont, i rock him to sleep and put him down on his bed but would wake up and cry i did it all through out the night last night for about 6- 7 times and i gave up at 5am and let him sleep on our bed. How can i make him sleep in his own bed? Im exhausted i need my space back when sleeping 😭