Controlling LEDs has been covered heavily on this forum and elsewhere with a little googling.
For example, Adafruit shows an Arduino Uno in this guide: