Hi @Mark Lalich
If you referring to the attribute of an entity if you try to give an existing name to the attribute the platform will add a number automatically to prevent having duplicated names inside the same entity.

If you referring to values, like a primary key that should be unique, you can create an index and set the attribute as unique.
Click on the button to open the popup, go to the index tab, create an index, and set the attribute that you want as unique.

Also, you can check this video to understand better: https://www.outsystems.com/training/lesson/2150/indexes.
Another way is to build logic that will check on the database if the value already exists.
Regards
Gonçalo Almeida