When to test?

How long after taking Plan B should I take a test to make sure I’m not pregnant?

My period is supposed to come June 24, but now it’s gonna get messed up due to the Plan B. I took it earlier today.