but what should I do if I just want to make dividing operation?

Not sure what you mean by that?
In general, you need to make sure you don’t divide by 0 (by either clamping to eps or adding eps to before the division).