Configure Master/Detail for a 1-to-1 relationship between 2 tables

Limit the relationship between two tables to a single record, that is, once a record has been added, the options to add more must be hidden. How can it be implemented easily and safely?

There is no simple way to do this. You need to hide the links yourself using Server Events