sleeping alone

Best tips on getting my child to sleep in his bed. My son is 8 years old and is having trouble sleeping in his own bed in his room. We just moved to our own place and before we lived with my parents and we had a small room so he slept with me since he was a baby. I know it will take time but do you mommys have any tips or suggestions on getting him to sleep in his own bed. My patience is running low as he is crying his eyes out right now.