When to take the pregnancy test

Hiran
after how many days of missing a period should one take the pregnancy test!!! Please help! So confused