Random bleed

So I started to bleed two weeks before my period was expected to arrive this only lasted less than a day and stopped. Any suggestions as to what this could be??