It appears that your compass may need calibration.
Find an open area outside away from metal objects such as fences, pipes, tables, watches, coins, etc. and follow the instructions on compass calibration in the Go4 app.
Thank you ...
I already tried to calibrate it, however it does not allow me to do it, the application comes out when I want to start the calibration of the compass.
The compass may be broken and require service from DJI.
Did you have a crash recently? Perhaps it knocked something loose inside of the Spark?