Period?

I could have had a small chance of being pregnant and I came on my period yesterday but I've come off it today? Does anyone know what this means?