It is unlikely to infect your phone by opening and reading an SMS text message. However, if you download an infected attachment or click a link to a compromised website, you may be infected by the virus or malware.