This excellent video from Tyler de Witt walks you through what isotopes are, and how the relative abundance of those isotopes can be used to calculate the relative atomic mass of an element.