how to drive robot straight...

how to do programming for dis

Dis?
Differential (?) Steering?

To go straight, you need to ensure both wheels have the same circumference, and that both encoders record the same number of turns.
Have you done this?