Framing usually refers to what you can see in the viewfinder. Composition is also part of the process, and being aware of what you can see and how it all works together for your intended shot is what can separate a mediocre shot from a really good one.
When taking pictures a lot of novices will only concentrate on their main subject, often putting it right in the middle of the frame, and will be oblivious to other, possibly distracting, items that are in shot, and which contribute nothing to the image.
To become good I guess you need to develop your awareness of what is in the entire frame, and adjust your position, zoom, angle of shooting, until your image is framed to the best effect.