what if I solved a function and I ended up getting 1/0

would I leave it as 1 or 0?

The answer as it is, is "undefined".

To give an answer accurately, we need to see your problem. Perhaps it is evaluating the limit of a function, in which case there are other ways to get the final answer, perhaps there is an error in getting the answer, ...