Position accuracy in GPS

How can i do time/space averaging? I have no idea, how can do it to get good accurate position?