You can either attach it as a text message (as already abovementioned) or you can send it directly through the app. For instance, if you're using GIPHY, just open the app and browse a GIF to send. Tap a particular GIF and go to the text message icon. Select a contact then send.