Please help girls - implant and periods after 2 years

sunshine
I have had the implant for 2 years and had no periods and then a month ago I came on and was on for like 3 weeks and then I came off and every few days I keep getting it back but not as a proper period, it's coming as dark brown discharge.. Why after 2 years am I getting messed up periods ??