How to properly measure the ring size?

How to properly measure the ring size?