Since how long it's happening.. Most probable cause may b poor gum hygiene, or any defeciency in body.it can b simple inflammation to a serious systemic issue.
Next Steps
That needs proper evaluation before jumping to treat you. So manage a dental check up.
Health Tips
Use a Gum paint like stolin.. Salt rinses. And if still persists it needs through check up.