Pregnancy tests

Mary

Can a pregnancy test give a false negative or a pregnancy test give a false positive? I've taken three tests and two of them says positive and the last one says negative.