The gemara here is discussing the incident where On’s wife encouraged him to leave the dispute with Korach. RaSh”I, on this gemara, points out that On tells his wife that he swore to the participants in Korach’s dispute that if they would call him to come with them and assist them in their dispute, that he would come. To get On out of his bind, On’s wife gave him wine to drink, whereupon On got drunk. On’s wife stood by the entrance to the tent with her hair uncovered. Anybody who was involved in Korach’s dispute who came to call On to join, turned around from the tent upon seeing her standing by the entrance to the tent with uncovered hair.
 “Shoteh” refers to a person who is crazy or is a fool.
 This mishna in Eduyos (Chapter 5, Mishna 6), lists four rulings that the great sage Akaviah ben Mahalalel had which were at odds with the ruling of the Chachamam (Sages). The Chachamim offered Akaviah the position of Av Beis Din – father of the court, that person being the deputy to the Nasi (president) of the Sanhedrin. He would preside over this Jewish High-Court when the Nasi was not present. However, the stipulation for Akaviah to receive this distinguished position was that he retract his four rulings which were at odds with the rulings of the Chachamim. Akaviah refused to change his position on these four rulings, stating it is better for a person to be called a fool – shoteh, all of his life by others, then to be an evildoer for even one moment before HaShem’s Presence. He refused to change his four positions, for he said that by changing his positions, it would appear to others that he changed his position on the four rulings in exchange for a position of leadership.