Irregular periods

Since I’ve started my period it have been irregular. My doctor told me it will be like that for a few year but it has been and it’s still irregular. How am i suppose to track my period if I don’t even know when it’s coming?