My app send more than one text

My app is currently sending more than one text, How can I set my app to send only one text.

Show your blocks

Sending via what? SMS, Bluetooth, Serial, Web...what?