Problem : gy-271 qmc 5883

I have gy-271 (QMC5883L) module Degrees move when the module is stable.Could you give me some advice how to fix that ?

Most electronic compass modules need calibration before they can be used.

Simple magnetometer calibration.
Advanced, more accurate magnetometer calibration.

Is this calibration valid for a sensor gy-271 qmc 5883?

Yes, if you follow the instructions.