ir sensor with 16x2 lcd


i cannot able to count the values from the values of ir 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.