Please, allow us to help you better by providing all the details: PIC, schematic, a snip of your actual code, configuration fuses etc etc etc.