There is no one specific way to get rid of geckos, but some methods include using a pesticide, using a snake or a pesticide-treated article of clothing, or using a vacuum cleaner and bucket to suck the gecko out of the area.