Your health care provider will tell you how to take the antibiotics. He or she will also tell you how long you must take them. The infection can get worse if you stop early.