Having problems displaying rotary encoders output to 16*2 display

Hi everyone, I'm having trouble while using a rotary encoder and and trying to upload the output to 16*2 display. The encoder is fine, I'm getting output in serial monitor, I'm using the lcd with a 12c breakout board, it is also working fine with other sensors, but while using encoder it is not working precisely. Is it because of the spontaneous data inputs taken by the encoder, and the lcd refreshing rate is low????? I don't know, please help me, if any one have any such program done, then please upload it :). Thank you