Call a function from other script

Hi, I have a problem since three days, what I want is call a function and instantiate it only one time, for example, in scriptA, if (gameObject is touch the Collider) instantiate (void inScriptB) one time with changing the location xPos +1.

The main point is I want to call (void inScriptB).

Any help please.