If the baby wakes in the night for feeding, don't turn on the lights but maintain a dark and quiet atmosphere. Use night lights for your convenience. Don't entertain the baby, keep the feeding as brief and boring as possible. When the baby is fed, burped and calm, return the baby to bed. If this routine is maintained your baby will be accustomed to it and go to sleep on his own.
Children love ritual.
Whatever the activities, such as taking a bath, brushing teeth, reading stories, saying prayers, and so forth, keep them in the same order. Establish rules that the child cannot leave the bedroom. Ignore verbal requests after the child has gone to bed. I will open it when you are quiet. If your child comes out of their room, avoid the lectures, just maintain good eye contact and tell the child that you will open the door again when the child is in bed.