I have no idea how to graph this. I looked on wolframalpha and it is just a curve. But how would I come up with this curve without the use of other resources (i.e. on a test).
You'd like to capture some of the important behavior of the graph, yes? For example, end-behavior (what happens as $x\to-\infty$ or $x\to\infty$), intercepts, where it's increasing/decreasing, any peaks or troughs.
In this case, you'll want to convey the idea that $f(x)$ is always positive, continuous, and increasing (should be evident from your sketch, and the fact that you'll not draw any jumps, peaks or troughs) You'll want to show that $f(0)=1$. You'll want to show that as $x\to-\infty$, $f(x)$ levels off and approaches $0$ asymptotically (again, should look that way from your sketch, but you may want to explicitly indicate the horizontal asymptote). You'll want to give the idea that as $x\to\infty$, $f(x)\to\infty$ (should look that way). You'll want to plot a few other points, too, like $f(1)=e\approx 2.8$ and $f(-1)=1/e\approx 0.35$. That should cover it pretty well.
You mention in your question that "I have no idea how to graph this" and "how would I come up with this curve without the use of other resources (i.e. on a test)". I know that you have already accepted one answer, but I thought that I would add a bit.
In my opinion, then best thing is to remember (memorize if you will) certain types of functions and their graphs. So you probably already know how to graph a linear function like $f(x) = 5x -4$. Before a test, you would ask your teacher which types of functions that you would be required to ne able to sketch by hand without any graphing calculator. Then you could go study these different types.
Now, if you don't have a graphing calculator, but you have a simple calculator, then you could also try to sketch the graph of a function by just "plotting points". So you draw a coordinate system with an $x$-axis and a $y$-axis and for various values of $x$ you calculate corresponding values of $y$ and then you plot those points. In the end you connect all the dots with lines/curves (so if the dots are all on a straight line, then you can just draw a straight line, but is things seem to curve one way or the other, then you try to "curve with the points").
No matter what, I would recommend to try and sit down with a piece of paper. Draw a coordinate system (maybe your a ruler). And try to sketch graphs of various functions. This will then familiarize you with how graphs of certain functions looks like.