3 days before AF

It's 3 days before AF if due and iv stomach cramps like period pain cross with just a belly ach it's painful but uncomfortable at the same time, I did a pregnancy test and got a BFN ?? What's this mean?