Earwigs enter your house for the following reasons:
They look for more comfortable conditions when the weather changes;
They are attracted with the light outside and inside the house;
They are spreading near the foundation and gradually enter your house.