It's a skill you have to develop and the skill you will learn with time. And this skill is listening to your instinct. Listen to your gut. If you have a bad feeling about a client approaching you or about a new project, double check. That means there are small signs, small, almost invisible red flags, which you see, but you are pushing it down because there is so nice payment opportunity. That is such a nice project.
This is such a nice guy and you push the size of a U turn your head away from the red flags. So basically, it's not listening to your instinct. It is checking the reality and seeing the reality of the situation. So if you have a bad feeling about the situation, double check. In my experience for example, if your client is only asking about the price He is looking for cheap solutions. If something seems fishy, it probably is.
I don't want to seem pessimistic as you might know it so far I'm not I'm very happy person, but if it seems too good, it probably is. So listen to your instinct and check for warning signs and do a reality check and double check. only work for clients who you hundred personally trust