Spam texts trying to persuade you to contact the sender regarding an accident claim, free holiday or car, a medical remedy or similar are annoying and could be illegal.
Authentic text messages should include the name and contact details of the sender. You should have given consent for them to be sent, but you may have forgotten, or not have realised.
If you receive a spam text, do not reply or forward it, but report it to your telecoms provider.