Yes, either replay the parts or quantize them. Now, some quantize tools such as Logic's could set the amount of quantize percentage-wise, 100% means full quantize, 80% means partial so it leaves some of the natural swing. Or then quantize and use a swing factor.
Alas, the audience today are very much used to hearing close to perfect playing so either you practice until you nail things down perfectly *), or then use tools to simulate the output sounding perfect.
*) Believe it or not, a lot of the early day Madonna bass lines were done by a really good keyboard player with no quantize whatsoever.