GSM GPRS sim900 shield doesn't work properly afte turning it on

After I send SMS to it, then about 20 seconds ultrasonic sensor calculates false distance, then it gets back to calculating true distance... Should i skip this period of 20 seconds with a delay?