An iambic pentameter should have 5 'feet'. A foot is a group of syllables. In iambic pentameter, the basic foot is the 'iamb'. This consists of one unstressed syllable followed by one stressed syllable.
Other stress patterns within each foot may be used, to a certain extent, but the 'rules' are quite complex. If you're a beginner, this isn't the right time to explain