Welcome to HCM,
It seems that due to acute upper respiratory tract
infection you might got swelling or oedema on your vocal cord resulting loss of voice.
Consult ENT specialist
and get examined with indirect laryngoscopy
Give complete rest to vocal cord.
Avoid fried, junk food and cold drinks.
Go for Vicks vapor inhalation.
Ok and bye.