Why is my period lasting so long?

Talyn
I had a period a week and a half before I had surgery and then during the recovery of my surgery by period was suppose to come again but I was two weeks. Now I'm on my period and I usually last five days but it's been seven and I'm still on it. What's could be the problem?