Read raw gpa data from gps module to arduino

Hey guys I am trying to read raw data from a gps module using TTL communication on RX pin 0 on the arduino mega. i dont know how to program it since i am total noob at arduino programming. 

can someone help me out please.