people with a weakened immune system – either because of an underlying health condition such as HIV or as a side effect of certain treatments, such as chemotherapy
Antibiotics are sometimes given as a precaution to prevent, rather than treat, an infection. This is called antibiotic prophylaxis. Situations where antibiotics are given as a preventive treatment include:
if you're having an operation
after a bite or wound that could get infected
if you have a health problem that means you're at higher risk of infection such as if you've had your spleen removed or you're having chemotherapy treatment
If you're having an operation
Antibiotics are normally recommended if you're having a type of surgery that carries a high risk of infection.
For example, you may be prescribed antibiotics if you're going to have: