ir sensor with 16x2 lcd

hai,

i cannot able to count the values from the values of ir sensor.it woudnt stops the counting while it contacted with ir sensor .how this possible ?

I'm afraid I dont understand exactly what you mean.

Which sensor ?
What do you want to do ?
Post the code you use.