Here you can see a circuit digram for controlling relay from pic microcontroller.
How to Control A Relay from PIC Microcontroller - Circuit Diagram |Linux and Microcontroller Tips
How to Control A Relay from PIC Microcontroller - Circuit Diagram |Linux and Microcontroller Tips