You are suffering from laryngitis.Avoid talking for 3-4days... give complete voice rest..consult an ENT doctor who will put you on mucolytics(T.Mucolyte),Anti tussives(that will suppress your cough),and antipyretic medication such as paracetamol if you have fever.Giving complete rest to your voice will bring back your voice within a couple of days and you will be able to speak properly.
Next Steps
avoid cold drinks,drink warm water at regular intervals,avoid spicy and oily food.chewing jeera can relieve your symptoms.take bland diet.