The other day my game worked perfectly fine.And the next day when i open the
project the sprite is behind the backround.

The Z position of the background needs to be greater than or equal to the Z position of the sprite

Or the Order in Layer of the sprite needs to be greater than the Order in Layer of the background