Depending on your alkyl halide this can be a tricky reaction. The most obvious solution would be to add NaOH, but you risk not only getting the substituted product, but also the eliminated product.
If you want to convert it to a carboxylic acid you could try turning your alkyl halide into a Grignard and reacting it with CO2, although that also depends on the complexity of your starting material.