Composition --> Composition settings. Please read the help. This is basic stuff.
no i meant this not the time. see how the layers are too wide?
Try adding some arrows onto your screenshot pointing out what you are talking about.
If the layer is longer than you want it to be, then trim it.
See After Effects Help for instructions:
Start here to learn After Effects: