Input PIN activates - LED blinks 5 times
Assuming your Input pin is PORTA,1 & your LED is connected to PORTB,0 & Timer routine generates a delay of 1 second, then a simplified code sample is applicable as follows :
START
btfsc PORTA,1 ; Check Input Pin ?
goto START ; Input Pin not active , check again
bsf PORTB,0 ; Set LED Output on
call Timer ; Timer routine ie 1 second
bcf PORTB,0 ; Set LED Output off
call Timer
bsf PORTB,0
call Timer
bcf PORTB,0
call Timer
bsf PORTB,0
call Timer
bcf PORTB,0
call Timer
bsf PORTB,0
call Timer
bcf PORTB,0
call Timer
bsf PORTB,0
call Timer
bcf PORTB,0
goto START