programing for gps ublox neo 6M

i have problem in my codes according my gps that i used... plz send me the code

Apparently, you already have the code. It just doesn't do what you expect. You need to show us the code that you have, explain what it does, and how that differs from what you want.