You may want to show your code, the whole code, nothing but the code....well, maybe the configs too.

Point is, we do not know what pins you are using or the setup.

You say you are sure the PC is sending because of some program on the PC, have you checked the wires from PC to PIC? Maybe there is a blockage???

Give something like this a try