If you are in a conversation with someone and you suspect they may be recording you without your consent, there are a few things you can do to try to tell if they are.
First, pay attention to any strange behaviors or changes in the person's demeanor. If they seem to be fidgeting with their phone or holding it in an unusual way, they may be trying to surreptitiously record you.
Another telltale sign is if the person starts asking you more personal or probing questions than they have in the past. This could be a sign that they are trying to get information from you that they could use against you later.
If you are really concerned that someone may be recording you without your consent, you can always ask them directly. If they are recording you, they will likely be unwilling or unable to give you a straight answer. In this case, it is probably best to end the conversation and distance yourself from the person.