you didn't mention your age,
in case of menopausal age group, absence of periods for more than one year should be taken as attainment of menopause
and post menopausal bleeding is always to be taken seriously and treated.
in case of reproductive age group, you didn't mention the reason why you didn't have periods like usage of IUD etc.
anyhow you have to visit local gynecologist and undergo checkup.