The PIC may not supply enough current to trigger your relay. Put an LED in its place and make sure it is going on and off.