How to calibrate frequency of your SDR in HDSDR software

Answering a question received from many viewers, how do you calibrate the HDSDR frequency on your SDR