Screw the bolts nuts back onto whatever they belong to. And as people have said, take tons of photos. If there's several lengths of bolts etc, take the photo with something to show the length/diameter etc, such as an engineers ruler or a vernier caliper.
Also, when putting it back together; get a good torque wrench and use it.
Good luck and enjoy the tinkering!