From Purushottama Pr:
Answer Podcast Hindi
Hare Krishna Prabhuji,
Thanks for clarifying my doubt.
as you rightly said ,if somehow or other ,it is not possible to avoid such foodstuffs ,may be due to the reason that our family may use it often in the diet ,then it is better to seek forgiveness by chanting the hare krishna mantra ,which is one of the best for atonement..
also there are certain verses in puranas which talk about this matter and their atonement by doing candrayana fast .
5.5. Garlic, leeks and onions, mushrooms and (all plants), springing from impure (substances), are unfit to be eaten by twice-born men.
5.19. A twice-born man who knowingly eats mushrooms, a village-pig, garlic, a village-cock, onions, or leeks, will become an outcast.
And puranas also gives us the way to atone for the sin of eating onion and garlic .they are as follows
palandu lasunam sigrum alambum grjanam palam
bhunkte yo vai naro brahman vratam candrayanam caret
(Padma Purana, Brahma Khanda 19.10, spoken by Suta Gosvami)
O sages, one who eats garlic, onions, sigrum (a kind of plant), turnips, bottle gourd and meat, that person should observe a candrayana fast.
palandulasunadini jagddhva candrayanam caret
sraddhe devanpitrnprarcya khadanmamsah na dosabhak
By eating garlic and onion one becomes sinful and as atonement one should perform Candrayana. (Garuda Purana 1.96.72)
apart from this ,there are also substitutions available for such foodstuffs ,which may taste exactly like onion .
Please type the characters of this captcha image in the input box
CAPTCHA Code *