Recovery time depends on the type of infection, the location of the infection, the extent of the infection and the cause, all which determine treatment methods.
The recovery period for an infection is as variable as the number and types of infections there are. A severe infection in your body may never allow recovery, whereas a simple infection of the skin may heal in 2 - 3 days.
There's not enough information to know this answer. What other health problems do you have? How old are you? Everyone's body is different, Talk to your doctor.