First, you have to understand the physics meaning of periodic condition, infinite system, and band structures. For such knowledges, please read the textbook.
For your second question, please post more details of your problem, i.e., the reference you want to reproduce, the parameters used in your calculations, the results you have obtained. Otherwise, it is difficult or impossible to give useful suggestions to you.