Hi Mansour,
Are they your hens (rather than being an employee of the farm)? How many hens are there?
Egg eating is a very bad habit and can be very difficult to break. The solution depends on the number of birds involved and, commercially, may be drastic which is why I'm asking the questions above.
... but generally - egg eating starts when an egg gets broken in the nest or on the floor and the hens make the connection between the eggs they lay and the yummy egg inside. Sometimes it starts with a soft shelled egg which, of course, gets broken more easily.
Once they know they will start pecking at a laid egg and when the others have made the connection that a hen laying means lunchtime you are really in trouble as they will even peck at the egg as it is being laid with the risk of injury etc.
The only way of stopping it is to take out the offenders and keep them individually caged, keep removing laid eggs immediately. It is possible but its hard work and may be impossible if there are lots of egg eating hens involved. If you have persistent egg eaters in quantity, commercially, they would have to be culled and replaced (though it pains me to say it!)
Try to separate your egg eaters from your non-egg eaters as a start. Then try to reform the egg eating group by removing the eggs very promptly. Hopefully you will reform some.
Keep up good management and inspections of the hens so that broken and soft shelled eggs are removed promptly.
Good luck

... and do let us know how it goes. Welcome to the forum!