Getting injured by a rusty nail won’t give you tetanus unless the nail contains germs and dirt that hide tetanus bacteria on its surface. It’s the bacteria causes tetanus, not the rust.