This could be because of postnasal drip due to sinus infection or reflux. Will need a more detailed history and examination.
Next Steps
nevertheless you should try inhaling steam with your nose and mouth open atleast twice a day. this should help clear out the phlegm.
Health Tips
avoid spicy food, take plenty of water. avoid continuous throat clearing if you have such a habit.