Electrical stimulator arduino project

Hello, im working on an electrical stimulator project and im planning to program it using arduino nano microcontroller. Im having difficulties on how to generate a pulsed current using the microcontroller....any suggestions?

any suggestions?

Post your code.
Add detail to your sketchy description.
Be more specific.