i am trying to find out the band gap of a material using quantum espresso. so what should i have to do before relax and vc-relax or scf and nscf convergence?
You must do a vc-relax, if you are starting from a structure that you generated, or a relax, if you are starting from a known crystal structure before proceeding with the scf calculations.