Force on any Rigidbody comes in two primary forms:
-
the force(s) you apply in code
-
the forces applied by collisions
The former is trivial: it’s your code, go find it.
The latter is provided in the Collision objects given to you by Unity during collision message callbacks.
Since you have provided absolutely nothing in the form of functional code, it’s not possible to say anything more except:
How to report your problem productively in the Unity3D forums:
How to understand compiler and other errors and even fix them yourself:
If you post a code snippet, ALWAYS USE CODE TAGS:
How to use code tags: Using code tags properly