In a traffic jam
When congestion builds up (filevorming), lanes move at different speeds. If the lane to your right is moving faster, you may overtake on the right there. Do not change lanes to get ahead faster: anyone who changes lanes must give way to the other traffic.
When two lanes merge into one (a road narrowing), zip merging works best: everyone drives on to the point where the lane ends and merges in turn there. This improves the flow of traffic (doorstroming) and prevents one lane from staying empty. Formally, traffic changing lanes must give way to the other traffic.
If you approach a traffic jam on the motorway, check your mirror and briefly use your hazard warning lights to warn the traffic behind you.
Keeping a junction clear
You may not drive onto a junction if you would then have to stop on it, for example because the road beyond is full. Even if your light is green, you then wait before the stop line. That way you do not block crossing traffic. The same applies to a level crossing and a tram crossing: only drive onto it if you are sure you can get off it again.