Connect to wifi button wont do anything, locking me out of wifi

Title explains it, cant connect because the wifi button wont do anything, anyone know a fix?