You can respond to text from an unknown number. However, until the identity of the sender has been verified, it is not advisable to respond to texts from an unknown number. Do your due diligence first to authenticate the sender before you respond.