Calibrating a Speedometer - can it be done?

what would cuase the speedo needle irratically but stop and act normal after 30mph