I want the led only to blink for 500mili sec and turn off till the next count

can you help me with this