what are the procedures on how to measure the length of an object with a ruler?

ummm. hold the ruler next to the object and count the marks. Never done that?