1 Prepare for safe work
Close the main or local valve, open the lowest faucet to release the pressure, and protect the floor with a bucket and cloths. If electricity is nearby, turn off the corresponding fuse.

⚠ Warning: Do not work on a pipe under pressure or on a boiler connected to electricity. A hidden leak, a damaged main line, and repeated wetting of the wall require a plumber.
2 Determine the condition and the cause
Determine whether the opening is in dry wall, bathroom, or an external wall, and whether the pipe moves during operation. Remove loose mortar and dust.
3 Perform the key check
Leave a small elastic gap around the pipe; rigid mortar directly against the pipe often cracks again due to expansion and vibration.
4 Perform the repair or maintenance
Fill the deeper opening with a suitable backing material, and seal the final joint with a moisture- and temperature-resistant elastic sealant suitable for that location.
? Tip: Photograph the initial state and change only one thing at a time. This will make it easier to determine what really solved the problem.
5 Test the result
Slowly turn on the water and observe each joint for at least a few minutes, first without load and then at full flow. A wet trace, a drop in pressure, or a sewer smell means that the joint needs to be inspected again.