Well, you need to read the data from serial first. You may be able to take inspiration from Robin2's excellent thread about reading from serial.
When you have read the response, then you can use strstr() to search for whatever token you are interested in, like:
if (strstr(mySerialInputBuffer, "OK")) {
// found OK so do something
}
You could also take a look at someone else's work.