How we trained our chickens to come in at night:
1. During daytime, teach them that good treats, special treats come from you - yogurt, red grapes, mealworms, spinach leaves, cottage cheese (washed so it's only the curds), spaghetti noodles, cantaloupe seeds, cornbread - whatever is in your fridge that they'll like. Took mine 3 days to get over their 'fear' of humans to 'holy cow, she's HERE!' scramble to get to me first. I have bright pink garden clogs as 'chicken shoes' - I swear, anyone who wears those shoes is followed like puppy-dogs by the chickens! The shoes, the shoes, treats are a 'coming! I also have a 'chicken call' - as most do - that the hens respond to, as I only use it when they get treats.
2. After a few days of step 1 - might take a few - start offering treats after dinnertime, but long before dusk. By now, you'll know which treat they prefer. Take the absolute tastiest treat - stand near the chicken door - offer treat there, every third bite or so, throw one into the coop. Some will follow it, some won't. This is about training them coop is good.
3. Next night - stand inside the coop - same treat in hand - call them - offer the treats in the coop, perhaps through the door for those reluctant hens - but by now, most will have come around.
4. Next night - offer a little later, but again inside the coop. Keep getting a little later or whatever time you'd like them in by.
That's how we trained ours where home was. They figured it out after about a week. But a few hens are still persistently 'late to bed'. Just how it is. They might be lower on the pecking order and don't wish to be pecked when getting up on the roost bar.