Hi,
A few suggestions from me:
1. Download the datasheet of PIC16F877A or PIC16F887:
PIC16F877A - ww1.microchip.com/downloads/en/devicedoc/39582b.pdf
PIC16F887 - ww1.microchip.com/downloads/en/DeviceDoc/41291F.pdf
2. Download the mid-range reference manual.
3. Determine programming language. Choices include ASM, BASIC, C, PASCAL. I would recommend BASIC or C.
4. Determine compiler. I would recommend mikroC or mikroBASIC.
5. Download the mikroElektronika free ebook - **broken link removed**
6. Start with the mikroElektronika book.
7. Make many many codes to get a grip of things.
When you have questions, come to the forum and ask.
Hope this helps.
Tahmid.