If they don't show up in your chat history, that's a clue that they may have blocked you. If you do see their name in your chat history, tap their name and try to send them a message. If you get an automated response that reads something like, Failed to send your message – Tap to try again, you might have been blocked.