How to know if someone is trust trying to use you?

Generally speaking and not in a romantic relationship setting. Like someone is being friendly and putting a lot of effort in the beginning to gain your trust, but once they've gain it, they either do the minimum or they drop off once they identify that you can't give them what they want out of you?
How to know if someone is trust trying to use you?
Post Opinion