If it's gold and silver, you shouldn't. You should also pay attention to hygiene at ordinary times to avoid dirty hands. The surface cells of the meat that come into contact with earrings are necrotic and generally do not infect.
Most people are not allergic to pure gold and pure silver.
When buying earrings, you should pay attention to it. Sometimes the stick and plug behind the earrings are gold, and some people will be allergic when wearing them. Generally, they should pay attention to hygiene and there will be no problem.