Modern oil paints and high-quality materials greatly reduce the risk of cracking. All of my paintings are created on professional, primed canvases, and finished with a protective top layer (including professional varnish to seal and preserve the texture).
That said, like any fine artwork, a painting should be treated with care. To avoid potential cracking over time, keep it away from damp environments, direct sunlight, and sources of extreme heat (like radiators or fireplaces).
With proper care, your painting will maintain its texture and vibrancy for decades.