How do I know that I’m connecting my component in the right direction?

In the step-by-step guide and in the Fritzing file, you can usually see the direction of the component. It is important to try and understand how to connect the component properly (which pin needs to go where) since the wiring is based on the directionality of the component.