If what you're doing has a lot of examples online? It'll likely lead you the right direction, maybe even directly solve your problem.
If you're doing anything more complex, don't expect anything other than correct-sounding but very wrong gibberish. It's not "smart", it has no capacity for facts or truth, and cannot actually solve a problem, it's a word generator. If you use it as such and understand its limitations it can be a valuable tool, but do not depend on it, and do not trust it.