First, you'll need to craft cement and cement the the leak.
Next, you'll have to craft a reservoir with red wood, then craft a water filter and lead pipe and install them in the reservoir.
If you ever get stuck and need more specific details, please let us know what step you're working on!