You find the time to do it basically.
One, before work as some like to do it, depending on when a Gym opens in relation their work times.
Two, after work, usually straight after then home for a meal, or home for a meal, then off to the Gym some time later.
If you go before going home, then try to eat if possible about an hour before work ends, so you can have something fairly robust, and then you'll be able to still use the nutrition to help you train.
You just have to space meals out so you have a timespan between Breakfast and lunch, thne a break period about half way between the two. Same with Lunch and Dinner, a break period between the two, or if you eat then about an hour later, go to the Gym after work, you can then have that meal as the midway meal betwen lunch and dinner.
Hopefully that all makes sense.