There are many causes for hoarseness of voice such as acute laryngitis, vocal nodule, vocal cord palsy etc. Treatment depends on identifying cause for your problem.
Next Steps
Consult nearby ENT specialist for confirmation of diagnosis and appropriate treatment if required