Could it be that the depo isnt workn?

Patient: Ive been on the depo for 3 years now and my period stopped for a whole year, i had unprotected sex and now i started to bleed and my stomach Has been acting up . So im wondering if its my period again or what it could be

Doctor: