What if the gecko enters the bedroom?

Beating eggshells is very effective, because geckos associate "predators" when they see eggshells.

You can put two split eggshells at the entrance outside the house or in the kitchen. Placing mothballs can be said to be a good way to drive away snakes, insects, rats and ants at home. Except moths, cockroaches, ants and flies, even geckos are shunned. As long as you put some mothballs on the stove, refrigerator or sink, the gecko will not dare to go near.

In the background of stick insects, geckos mostly prey on mosquitoes, so geckos often appear near some light sources. Putting some stick insects around the light source can not only catch those annoying insects, but also catch geckos.

Put garlic in it. It's so strong that even geckos don't like it. As long as you put some garlic outside the door, the gecko won't want to sneak into your house.