If you are referring to ways to formulate a differential equation from a physical application, calculus books usually give some of the easy basic examples.
If you were given two variables: x, y; and you were told that y is proportional to x, how would you come up with an equality to relate the two variables? You would probably come up with something similar to (for constant of proportion k):
Now, suppose you are given a function y(x) and told that its rate of change is proportional to its position for every value of x. What type of equality would you find for this? Something like:
It's that easy in this example, all we did was find an equality that relates the function and its derivative based on our given information. Solving this ODE gives us the formula for
exponential growth (or decay, for negative values of k) at time x. Perhaps a variable t would have been a better choice. Nevertheless:

because if we set x=0 then we have y(0)=e^c and can reassign that constant to e^c=y_0.
Perhaps later if I feel more creative and awake I can come up with a better example of formulating a differential equation. Many, many, others are certainly not this easy.