What is it

I took a test an then a hour later i looked at it again it had 2 lines? Is it invalid or am I pregnant?