Usually the section enclosed in the red section is the part you repeat for the pattern.
You'd work the first few stitches, then work the stitches that appear between the red lines 3 times in your case, and finish with the stitches after the red line on the other edge.
When you say they don't fit, do you not have enough stitches? How many are cast on and how many are on the chart?
Is it possible that you were supposed to work increases on the previous row?
Also, make sure that some of the blocks in the chart are not just 'space keepers'--stitches that really don't exist but are there to keep the chart looking even. They can be black or blank, depending on the chart.
"Trust the pattern!"
Time flies like an arrow, but fruit flies like a banana.
Hop aboard while we follow the cloud-covered van of knitting harmony, man!! Woooo!! --Hedgehog
IngridKH on Ravelry