They do things by instinct. i.e. to survive. Perhaps your house
provides such an environment. In this case, clean up often would
help.
If insects like to gather around you for reasons other than
survival, probably they just like something about you or the place,
such as smell(soap, perfume
), lighting, temperature and even
energy conditions(chi4). Do whatever you can to stop them from
coming in again. You could also try my method too. i.e. warn them
in your mind.