The rule i was always taught was , Ride as if you were invisible
Anticipate problems before those exist
1. Be bright! Wear a reflective vest or a bright colourful jersey. Avoid backpacks or dark clothing that makes it difficult to see you.
2. Don’t assume that a driver has seen you. Unless you can make eye contact with the driver, assume that they haven’t seen you and act accordingly, ESPECIALLY at night. Even if you make contact assume that they haven't seen you
3. Light up. If you're riding at night, White light on the frnt and red light on the rear. Under Australian law you are legally required to have a working front and back light when riding at night.
4. Carefully choose your route. Ride along bike or dual paths wherever possible.
5. Choose slow streets.
6. Don't ride too close to the curb. Give yourself a little space between yourself and the curb. Leave at least a metre between you and parked cars.
7. Cyclists are legally allowed to occupy one lane.