Five stages of accepting the inevitable:
Nothing. Accept and forgive if only) If you were used, this has already happened and now all that remains is to accept the painful experience, become stronger and move on. Don't blame yourself too harshly, sometimes you really want to go back in time and give yourself a bream, but what's done is done and it's much better than doing nothing and repeating the same safe pattern.
The plan is this:
Listen to yourself, analyze the situation and understand if you were being used. Or maybe it was a mutually beneficial relationship / communication / cooperation, in which suddenly something went wrong the way you would like? It happens.
If the answer is "yes, definitely used" we have unpleasant sensations that we need to get rid of. Stop, is it necessary? Of course not!
Unpleasant emotions are an integral part of our life, updating them means depriving yourself of this important part. Try to accept them better. Better yet, use it to your advantage.
How? In your example, negative feelings become rewarding experiences. Think about what the person did, what the person said to get what he wants from you; what did you do wrong, why did he gain such power over you.
Later you can use this to prevent such situations. No, just imagine how in the future events will develop according to a similar scenario, but you will behave differently and will not let this ... bad person use you! This is a victory! Congratulations, you just got a little stronger.
Learn to be strong and understand your past mistakes. It is worth going forward and turning back only in order to once again remember who can be trusted and who can not. There is a whole wagon of assholes in life, and if you feel devastated because of everyone, you can hang yourself. Do not open your soul to just everyone. And everything will be fine.