I want to use selenium with javascript and run it on my website

I will use selenium with javascript and I want to run it on my website. But I don’t know what to do.

I tried running javascript code on my website but selenium did not work.

I also need to use node.js but I don’t know how to use it.