Generation of electrical pulses

I need to generate electrical pulses having a pulse width of 0 to 4 ms, the output voltage should be maximum 10 volts and current be less than 10 mA.
How do I do it using the Arduino Uno board?

Hi,

the output voltage should be maximum 10 volts

What's the minimum?

A Uno pin can take a maximum of 5 volts, so you need to drive a transistor to switch 10 volts.
With a low frequency as you have, you should look probably look at timer1 for generating the pulses. You can control the mark and the space.