It depends on the type of infection. For mild yeast infections, using tampons may not cause issues. However, for bacterial infections like BV or an STI, it is often recommended to avoid tampons, as they can cause irritation or worsen symptoms. Always follow the advice of your healthcare provider.