This is most likely caused by irregular periods or a hormonal imbalance. If the bleeding was heavy flow then see your doctor as you may need birth control pills to regulate your period if this occurs again. Nothing to worry about but do see your doctor. It can also be due to your age, if you are young and just starting to have periods it can take some women several years before their periods become regular. It may or may not be anything serious.