The best protection you have as a motorcycle or moped driver is distance between you and other drivers. Distance gives you time to react to trouble and time to find some place to move if necessary.
Always leave a cushion of space around your vehicle to let other drivers see you and to avoid a collision. Keep alert for all other traffic, including vehicles in front, behind, coming toward you and approaching from the side, as well as those you are passing and any that are passing you.
It is important to remember that motorcycles and mopeds, because they weigh less than most other vehicles on the road, are able to stop and accelerate faster than other vehicles. Keep in mind when deciding how much space to leave around you that other drivers may need much more space to stop than you do.