make up your mind where is RX connected ?
there are tons of Neo 6M GPS modules. which one do you have?
which code and library did you use?
do yourself a favour and please read How to get the best out of this forum to understand what's useful info to provide when you raise a question