Autonomously on free, public databases of trademarks and patents - this option is feasible but certainly not exhaustive, and serves to define the validity of your registration or filing;
For a fee on private databases - this search is more reliable precisely because it uses a specific algorithm to carry out a more in-depth search than that which can be obtained with a free tool.