you can take a test from the first day that your period is due but it is recommended to wait for a cycle before the test. It takes several weeks for the hormone levels to be high enough for the test...
a week atleast.
you should wait for over a week after your due, a week or two after your due and you should be able to get an accurate result, if your uncertain go see a doctor for a blood test...