Connect your Ultrasonic pins according to
trigPin > 9

echoPin > 10

VCC > 5V

GND > GND

Now upload this code

and check in to serial monitor and set 9600  ( Ctrl + Shift + M )