^^^ Agree with the above. Changing a freehub is easy enough, but you will need a Shimano (or compatible) cassette lockring adaptor, a chain whip, a large adjustable spanner and a 10mm Allen key. The lockring adaptor is basically a small hexagonal metal tool with profiled teeth on one end that will mate with the lockring that holds the rear sprocket cassette on to the wheel. With the back wheel off the bike and the quick release skewer removed, wrap the chain whip around a sprocket in such a way that when you go to undo the lockring in an anti-clockwise direction, the cassette is held still rather than just spinning. Use the adjustable wrench to turn the lockring adaptor. Remove the sprocket cassette from the freehub body and note position of any spacers there may be. Remove the axle from the back wheel by undoing the locknut and bearing cone on the non-drive side of the hub and then slide the whole axle out towards the drive side. Remove the ball bearings from in side the freehub and then using the 10mm Allen key, turn the hollow bolt located inside the freehub. Take it all the way out and then lift the freehub clear of the wheel. Source a suitable replacement (the best quality Shimano one you can afford basically) making sure it is the same length as the original, i.e for a nine speed cassette. Attach it to the wheel and tighten accordingly. Pack a good quality cycle grease in to the races inside the freehub where the ball bearings will run and pop in some new bearings. Worth doing the other side of the hub at the same time too. Slide the axle back in from the drive side, then screw the cone and lock nut back on the other side. Adjust the tightness until the wheel runs smoothly, but with no free play between the axle and the rest of the hub/wheel. Using a suitable cone spanner and the adjustable wrench tighten the lock nut firmly against the cone. Check the wheel still runs freely with no play. Re-fit the cassette, taking note that it will only fit in one particular way, corresponding to the grooves on the freehub body. Use the adaptor to tighten the lockring (no need for the chain whip this time), re-fit the quick release skewer and pop the wheel back on the bike. Job done. Probably looks like a bit of a job from the description above, but it is actually pretty straight forward. You'll need to make sure you have the right size cone spanner for sure. This is basically a very thin spanner which will allow you to adjust the cone whilst not getting in the way of the lock nut above it.
The tools probably won't cost any more than £20 and the freehub body shouldn't be any more than around £25. Give it a go!