How to get my infection treated? If it is a minor infection, it can be treated with OTC medicines. If it is a severe one, the doctor prescribes higher medication, or surgery in some cases.