A horse is being rescued by firefighters using a rope.