A bar is going to consist of 4 beats or 4 rhythms of music. It's as simple as counting 1, 2, 3 ,4. For example, if you have a standard pattern of “kick, clap, kick, clap” then that is going to be a bar. Then, every time that pattern repeats itself that would be another bar.