Medford man ordered to repay insurance firm