Period on pill

Just finished having my period on the pill and i have a question. Because I have had mg period does that mean I am not pregnant? With mg way of thinking it means I'm not