Talent is important, but you can compensate for it with extra practice.
After completing basic music theory lessons and learning the fundamental features of your instrument, you can typically play simple pieces within approximately 3 months. This timeline may vary depending on the difficulty level of the instrument you have chosen, the amount of practice you put in, and, finally, your individual talent.