Apple says the issue may stem from having an inactive SIM with the same number as your active SIM. To fix it, remove the inactive SIM and activate iMessage again.
If you have an iPhone, you probably use iMessage as your primary messaging app. This is especially true if you also have other Apple devices, like a Mac and an iPad. Typically, iMessage should work ...