Pregnancy test


How soon can u take a pregnancy test !? I think I might have missed my period but it's kinda different month to month by a few days to about 5 days. I took one today and getting a negative so I am not sure if it's too soon or not to take one or I am just not pregnant.