Beginners often under-appreciate just how difficult it is to play evenly in time but playing in time is as important as any other aspect of playing an instrument because a universal common denominator in all music is time.
Technology has availed both metronomes, drum beat apps and videos with drum beats for free or nearly free. The best free Android metronome I've tried is called “metronome beats”. And for Apple devices, “metronome plus” is great.
The first thing to consider when practicing with a metronome/drum beat is volume. Your metronome needs to be louder than you are so that you can clearly hear each click.
Another great option to make practicing more pleasant is to play along with drum beats. An advantage of this is that drum beats contain more parts you can take cues from to maintain good timing as compared to a metronome which is typically either clicking in quarter or eighth notes plus it simulates the real world experience of playing with a drummer. YouTube has an incredible number of drum beat backing tracks available and you can specify the genre of music and tempo you'd like, for example: a Chicago blues shuffle at 120 bpm. (beats per minute)
Lastly, here's some advice for playing with a metronome: As a beginner, you should practice primarily against quarter notes, that means you will play one note per click of the metronome. Then, when you're consistently good at that, practice playing eighth notes against the metronome in quarter notes and practice quarter notes against the metronome in eighth notes.