Not pregnant then to pregnant!?

I took a clear blue digital test.. It popped up not pregnant then pregnant . I took a picture of it saying pregnant but also it have two lines? What should i do!? So confused. Tests are so expensive..