I've had my period for over 3 weeks, got pain, cramping, won't stop bleeding. What to do next?

Needs to be checked. Three weeks of bleeding is not normal. You will need to be seen for an examination and testing. There are too many possibilities to really discuss here from infection, polyps, hormonal imbalances, cancer. Time to schedule a visit.