Try read SMS not work in Arduino mega2560
You have some undefined external hardware connected in some undefined way to the Arduino. The code that you posted does something that you did not describe. You expect it to do something that you did not describe.
can you help for my case ?
Hardly seems likely, does it?