Considering that the electron capture rate can be greatly reduced by the electron screening effect in the regime of high temperature and high density, we calculate the effect of electron screening on the electron capture rate for two important elements Ni