My 2 wheeled remote controlled ir receiver and hc sr04 robot was working fine but now its taking code of only firstly pressed button but not subsequen

RTFM. Arduino-IRremote/Arduino-IRremote