Slow down. That’s a no brainer. On roads, remember the first 15 minutes is the most dangerous time as all that dried oil and muck on the road is washed away.
Ride in the car tracks, not between them where you will find the most engine oil dropped on the road.
Ride in a higher gear for better traction and smoother control of the bike.
Avoid anything shiny like man hole covers, rail way tracks, bolts in timber bridges.
Don’t turn and brake at the same time, just do one thing at a time.
And if you aren’t sure how grippy a surface is, try quickly locking up the rear wheel for a traction test.
These would help you have a great riding session on the road as well as the dirt.