And from the VFD to the pump, no different than normal.
But, assuming you are using STEEL conduit, I always like to suggest NOT using THHN on the output side of a VFD, use RHH/RHW or XHHW, something that has XLPE (cross linked polyethylene) insulation instead of PVC insulation.
If you are using PVC or anything other than steel conduit, use shielded "VFD cable", and it will have XLPE insulation on the individual conductors.