Get them into a routine from baby's, teach them that when you call them, whistle them etc they go straight in. Do this at first by controlling the food and when they get into the habbit they won't forget.
I get cocks and hens hit the loft at the same time and all they want to is get in the loft, then they'll chase each other around etc.