The smell of garlic is strong to the human nose. Imagine having highten senses how bad that would smell. So more or less it's just disgusting. Also a stake would through the heart would kill anyone.
Despite being un-dead a vampire still has a functioning anatomy. Just what a vampire's metabolism consists of isn't clearly understood; the research has just not been done. But driving a wooden stake...