When riding over an obstacle, it is usually best to:

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.
DMV Writen Test