There are a couple of easy ways to control them.
Firstly, check plants that tend to attract earwigs, like dahlias. From spring, check plants regularly to catch them before too many build up in that area or on that plant.
Put straw into an upturned small flowerpot and place it on a bamboo cane or hazel stick next to the flowering plants that are, or may be damaged, by the earwigs. Check the flowerpot regularly and humanely dispose of any of the creatures found in the straw.
Placing corrugated cardboard or old hessian on soil, or around tree trunks, will also attract earwigs.
Remember though that earwigs can be helpful in feeding on aphids. They really good at keeping aphid numbers down on fruit trees so, where possible, try to tolerate them as being part of the natural wildlife balance.
Both organic and chemical insecticides are available from garden centres and, if used, always follow precisely the instructions on the label.