There are multiple reasons ranging from nutritional deficiencies, to stress, to hormonal imbalance or even gastric problems, etc... Get yourself examined from an oral pathologist. Even a biopsy might be required to know the exact cause.
Next Steps
visit an oral pathologist
Health Tips
do not take self medication as they might aggravate your condition.