Old brickwork is full of character, and gaps.
Lime mortar erodes, frost cracks bricks and old repairs shrink. Corners, window and door reveals and ground-level courses are the usual weak points.
They enter through the gaps and gnaw the edges to widen them. A smooth, polished edge shows where rats have been.
Rake out and repoint with mortar suited to the brick, replace broken bricks and fill holes with hard material. Soft fillers and foam are not suitable.
For historic buildings, use someone who understands lime mortar.
It will not hold against rats.
Tell us what you're seeing and where, and we'll get back to you with a clear price.