a part of your body or a wound that is infected has harmful bacteria in it which prevent it from healing [↪ disinfect]:
an infected finger
Clean the wound so it doesn't get infected.
food, water etc that is infected contains bacteria that spread disease
if a computer or disk is infected, the information in or on it has been changed or destroyed by a computer virus