It is not easy to get the stink out of the cookware brought on by smelly foods. The first thing to know is use glass or stainless steel bowls over plastic. Plastic bowls are porous and more absorbent so, the plastic is a "sponge" for odors to linger.
A good trick is to ball up some newspaper and stuff it into the plastic bowl. Cover it and let it stand for three to five days (depending on how smelly the bowl.)
When it comes to pots and pans the trick here is to allow the pot/pan to cool and then submerge it into hot soapy water. This technique prevents the odors from settling into the cookware.
Another trick is to create a paste using baking soda and scrub the pot or pan with the pot safe scrubbing pad. For really stubborn smells, add lemon juice to the baking soda paste. That should definitely do the trick.
To remove the smell of garlic and onions from your hands just rub you hands on the inside of your stainless steel sink. No worries if you do not have a stainless steel sink, just rub your hands on any stainless steel surface and the smell will be instantly gone.