Some causes require antibiotics while others require vitamin B shots. This is why I can't be too specific... but generally, it doesn't take long, it just may seem like it if you are in pain.
A full "cure" can take a while because whatever damage may have been done will have to heal. You may have to be on medication for a while even after you feel better to be certain any irritation (or ulceration) has completely healed.
Attention: NOTHING on this site may be reproduced in any fashion whatsoever without explicit consent (in writing) of the owner of said material, unless otherwise stated on the page where the content originated. Search engines are free to index and cache our content. Users who post their account names or personal information in their questions have no expectation of privacy beyond that point for anything they disclose. Questions are otherwise considered anonymous to the general public.