What happens if you take two pregnant tests and both of them say you pregnant but your period came on?

some women still have their periods during pregnancy. if the test say you are, you are