Hi,
If you're new to PIC or microcontrollers in general then you need to start with the obligatory blink-a-led program and work your way up from there. If you know your way around PICs and PBP then spending some time actually reading thru other threads on this very topic (like for example the other thread you posted the same question in) should give you enough information on how you CAN go about it.

/Henrik.