My period just stopped, it went away for 3 months

Patient: My period just stopped, it went away for 3 months and now I’m spotting what is going on?

Doctor: