Earwigs aren’t pest, they are quite useful actually. They don’t come indoors on their own. Make sure you don’t drag them in via plants, as susanhewitt said. Seal off cracks in and under the windowsill, and, if the building you live in is not a solid brick/stone building as are common in Europe but one those wooden frame structures common in North America, you may want to check the edge of the flooring for cracks or gaps too.
As for phobic reations, my suggestion would be to read as much as you can about these animals. Do NOT however read up on them on pest control sites because their take will not help you, as they have a hidden agenda (keep potential customers antsy to sell their services/products). Go for research articles and gardening sites instead. I would recommend European sites because earwigs are seen as beneficial and you find tips on how to ATTRACT them rather than get rid of them. Use those tips to create a more attractive environment for them outdoors.
I can understand phobias because as a child I used to panic at the sight of anything with more than 6 legs (spiders, centipedes etc.) and earwigs as well because of the cerci, they were terrifying to me. It was really bad. Today I actively go in search for spiders to photograph them and find them absolutely fascinating and some (jumping spiders for instance) even cute. What did I do? Convince myself all on my own that those were animals, and since I adored animals, there was no valid reason not to want to protect and love them too. Well, love is perhaps a big word. Developing an active interest for them, though, helped. Granted, it takes time. One has to be consistent in training oneself. It won’t happen overnight.
A magnifying glass to observe them, in general finding out more about them and their role in the grand scheme of things, how they live, went a long way to make me shed my fears. I still won’t cuddle spiders or earwigs, but then I don’t cuddle bees or caterpillars either, do I.
Don’t give up, the fact that you don’t want to kill them is a perfect stepping stone. Build on it.
PS: If at first you can’t bring yourself to get even near enough to use a magnifying glass, save up for a pair of Pentax Papilio binoculars. They aren’t overly expensive, though. They have a wonderful feature that will come in handy for all your naturalist endeavours: they also focus close, down to 50 cm. They’re not called Papilio (butterfly) for nothing. Go check them out. I highly recommend them, they’re small and lightweight and ever so useful.
Here’s a review: https://www.birdwatching.com/optics/pentax_papilio.html