Depo shot?

I got the shot as a way to ease my cramps because their so painful I can't even go to school or work but I got it in June and now that it's August I've had my period for 2 weeks when will it stop?  This is the first shot I got  Any advice? Would be helpful