How to keep rove beetles out of the house?

Ok, I know that they’re technically cool guys because they eat other insects. I know they’re technically harmless for people.
But both my wife and I have scars caused by their acid. My wife noticed last year something on her arm and instinctively slapped it before noticing what it was. I had one fly inside my shirt and I have 3 scars on one side. A few days ago one of them decided to climb on the roof of my computer room room and go kamikaze-style jumping on me.

Is there any way, natural or through chemical warfare, to keep them outside?

Anyone ?_?

Some advice here:

taipeitimes.com/News/taiwan/ … 2003570238