Treatment with antibiotics can kill the bacteria causing the infection. Make sure to follow your healthcare provider's instructions on when to take your antibiotics.