Pregnancy test results

How long do you have to wait until a pregnancy test shows results?? Like if you already take the test how long until it shows the results.