first, you sleep in another bed in the same room. He might move to your bed after he wake up in the middle night. After few months, tell him, you will sleep in next room, he can come to you when he feels scared. He might move to your bed after he wake up at a less and less frequency. 6 month later, he won't come to you at all.