It can be difficult to prove whether you have an active infestation of wood-boring insects, at most times of the year. Adult insects mainly emerge in the spring.
An active outbreak can sometimes be identified by holes with sharp (rather than rounded) edges, alongside bore dust. The interiors of the holes ('frass') are not dark, but the colour of freshly-cut timber. Otherwise, holes may indicate an old infestation, that's no longer active. In these cases, no action is normally needed.
In the UK, the most common wood-boring insects are furniture beetles and death watch beetles. Furniture beetles target both soft and hardwoods, and produce 1-2mm wide holes with lemon-shaped frass.
Death watch beetles might be less obvious, as adults sometimes emerge from cracks in the wood, rather than creating holes. However, they can sometimes be discovered by the distinctive sound they make when they tap their heads on timber, during their courtship period in the spring.
If you are not sure whether you have an active presence of beetles, you should monitor the situation for a year. Water-soluble glue can be used to cover a group of holes with acid-free tissue paper. If there are beetles, they will punch their way out.
You can also clean the surface underneath a suspect area - as well as nearby window sills - and document any beetles that accumulate in the space.