Spotting 7 weeks

Yesterday and today Iv had a really small bit of brown spotting when I wipe and since I found out Iv had slight crampy pains . I was 7 weeks yesterday this is my first pregnancy so I'm new to all this. Any advice would me great I'm fearing the worst