It's very easy to spot where a bar begins and ends in written music, because it is indicated by the usage of a bar line, which goes vertically from top to bottom, across a musical stave.