Period = not pregnant

If you thought u were pregnant but then got your period ur not preggo right??