Depend on cause
may simply be due to the nasal tissue swelling that occurs with a cold, sinus infection, or allergies.
If that is the case, appropriate medication to treat the cause will often improve the sense of smell. Other causes may be less amenable to treatment. See you doctor for evaluation for possible causes of anosmia.