I didn't understand when we use static or when not

please help me to understand the use of static, if possible on call.

I can explain you the concept of static keyword, but i think this post is really wonderful and it explains the concept in a great detail. Please have a look

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.

A member declared with keyword static belongs to class rather than instance of a class. Refer below resource for more.