How to calculate gain and offset of landsat8 in envi

How to consider gain and offset values for landsat8 satellite data

Actually this is automaitcally considered. Or do you experience some problem?