what can you take for a bacterial infection