i would go a step back first :

which pic did you use? how is your setup of ANSEL, CMCON? OSC?

best is you post the whole code