Need Help with HC-SR04 (Ultrasonic Sensor)

How can I do that, Im kind of new in programmation.