Learning to code embedded hardware usually takes years of formal education. Alongside a good understanding of the electronics involved, programming microcontrollers requires a high level of coding knowledge.
Luckily, Arduino boards make the whole process much easier. A range of boards are available, all programmable using the Arduino IDE and Arduino coding library.
This cheat sheet should help you with some of the basic commands you'll need to start programming Arduino boards.