Google "deblur" will give you some software that does this. However, results are not perfect. The best solution is still to reshoot, simpler and save you the pain of trying to salvage. Only some situations where it is impossible then you have to resort to it. The most recent I can think of is trying to shoot aerial inside flyer capsule at late blue hour. Narrow aperture + low light vs noise from high ISO + capsule motion to balance exposure time is a real struggle.