Period

So I haven’t had my period since the middle of March & I had surgery in the middle of April. Well I’m worried that I might be pregnant, but I’ve taken 2 tests and they both were negative. Could I be pregnant or could it just be my surgery messed with it?