Controlling LEDs with Ultrasonic range finder

You need to show us what you've done before we can advise why it isn't working.