How long?

So I woke up and used the restroom (FMU). But I’m super nauseous, and my husband wants me to take a test. How long do I need to wait before I can take the test in the same day?