Ensuring a down pipe attached to a wall stays elevated above the ground
Replace that pipe clamp with one that isn't broken. You can, most likely, simply use the original screw holes (whether into wooden siding above that stone veneer foundation wall, or into plastic/lead inserts into stone/brick above where we can see).
If you need to, put a dab of caulk into the old holes to prevent water ingress and drill new ones for the new pipe clamp.