Nexplanon, random period

I’ve had nexplanon for 6 months and had gotten no periods since insertion. Now this week I have awful cramps and a period, does this mean that it had stopped working? I got it to stop the cramping and prevent pregnancy. Does this mean I ovulated and it’s not working anymore?