To get a PWM signal with 5khz frequency using Arduino Uno

As I'm new to Arduino and I am not that good with the coding I don't know how to use timers to generate pwm with the 3 dutycycles that I have.