If there is no way to avoid hitting an obstacle on the road, you should raise yourself slightly off the seat with your weight on the footrests. The shock of the impact will be absorbed by your knees and elbows, reducing the risk that you will be thrown from the motorcycle.