Java check if function is already called

I want to check if the instance of the obj is already called. For instance, if sits the for the first time it will say “Sits” but if I call it again it will say “I am doing nothing” because the Cat is already sat. This applies for the other instances..

public class UseCatRenat{
       public static void main(String[] args) {
       CatRenat renat = new CatRenat();
       System.out.println("Renat says: "+ renat.standsUp());
       System.out.println("Renat says: "+ renat.sits());
       System.out.println("Renat says: "+ renat.sits());
   }
}

public class CatRenat{
      public String StandsUp(){
      return "I am standing up";
      }
      public String sits(){ 
      return "Sits";
      }
}

Current output:

 Renat says: I am standig up 
 Renat says: Sits
 Renat says: Sits

Expected output:

Renat says: I am standig up 
Renat says: Sits
Renat says: I am doing nothing

Answer

public class CatRenat {
    private boolean hasSat = false;

    public String StandsUp() {
        return "I am standing up";
    }

    public String sits() { 
         if (hasSat) {
             return "I am doing nothing";
         } else {
             hasSat = true;
             return "Sits";
         }
    }
}

Use a boolean variable to track the change.