A man has been airlifted to hospital after falling from a ledge