<p>I got this message from my Creality Ender 6 printer.</p>
<p>Now every time I want to print, or when it heats up, the printer gives me this message.</p>
<p>Can anyone please help with this?</p>
<p><a href="https://i.stack.imgur.com/oCLzI.jpg" rel="nofollow noreferrer" title="Heating failed error"><img src="https://i.stack.imgur.com/oCLzI.jpg" alt="Heating failed error" title="Heating failed error" /></a></p>

Someone with experience using an Ender may give a more specific answer to you question.  This is a general answer, not for a specific model.
"Soon enough" is saying the printer timed out before reaching temperature.
Do you see the temperature increasing on both the hot end and bed?  If one doesn't, that's where the failure occurs.
Are you setting a temperature higher than you have ever used on this printer?  If so, check to see if you are beyond the printers capability.
The hotend will reach temperature first. Does it reach the target temperature? If so, the issue is probably with your bed heater.  If not, the issue is with your hot end.
If you are pushing the extremes of your heaters, especially the bed heater, and your printer isn't in an enclose, you may need and enclosure to run that temperature.
Once you determine where the issue is at, there are things to can do to determine what is failing.