Plz an thank u

Can I plz get some help. I'm not sure where I need to ask this. On the 31st I started spotting an by the 2nd it was completely gone I never do that when I have a period it always last 5 to 7 days. Well yesterday when I went to the bathroom an I wiped this came out an I freaked out so I hurried up an got on the Internet an started asking questions an it said that this happens in early pregnancy,so I then took a test an got a very very faint line. Also today when I go to the bathroom I'm still passing some of this. Can someone plz give me some input on what u guys think. Plz an thank u.