Recurrent mouth ulcers of long duration may require evaluation of your entire gastrointestinal system to look for other causes of ulcers.
Next Steps
Online consult for more detailed history and guidance Gastroenterologist opinion for constipation
Health Tips
Increase your hydration , fibre rich diet, regular on time meals which is balanced , non spicy non oily, aim to consume raw fruits and vegetables daily to increase fibre in diet. Excessive stress should also be controlled