Hello and hope you are doing well.
Altered taste could be due to local or systemic causes. Local causes like tooth infections, tooth abscess or periodontal disease. Some medications can cause altered taste. It is more common in smokers, in people with poor dental hygiene, with vitamin deficiencies and are known to be associated with systemic infections. You will need to consult your dentist who will examine you and determine the cause so that appropriate therapy can be initiated.
Hope this helped and do keep us posted.