Hello,
Bad taste can be related to a coated tongue ( can be due to fever, etc), dry mouth, poor oral hygeine, smoking, etc. If associated with bad breath called halitosis, would need evaluation to find the underlying cause.
Next Steps
Hope this helps 👍