Schematics: where do I need to place a junction?
Usually you have to place a junction wherever two wires that should be connected are crossing each other. In the situations you mentioned, the connection should be made automatically by the software. Also if you draw a wire that ends on or starts from another wire it should get connected automatically.

If you're not sure that the pins or wires are connected you should use the Electrical Rule Check function.