how can i prevent user form more than one click on an object through raycast?

in my project if user clicks on an object the score will increase one time.But when click again and again also the score getting increased .So how can i prevent it.

@Veerababu.g

use a boolean.

once you have raycasted, make the boolean false and only make it true when you want to raycast again.

public bool "any bool" = true;

if(input.GetMouseButtonDown(0) && "any boolean")
{
      "any bool" = false;
      // code for raycast
}