Period 9 days long

Was just wondering if anyone has had the depo jag to try help with period pain due to possibly having endometriosis then took there period a week later but for the last 4 days in extreme pain and been getting constant brown discharge with clots. Period has been here for 9 days now and I usually only last 2 to 3 days normally