Is this ok?

I just found out I'm 1-2 weeks pregnant and I've been having cramps in my lower back & stomach. & a few days ago I just had a little of a light brown spotting but it went away.  Is this ok?