Cramps for over a week

I started my period 4 days ago, and I was cramping a bit a week beforehand...when I got my period this week, the pain was sharp for 3 days and the app told me I may have endometriosis...is this true?