Hi, jazzyw11
I had a friend introduce me to scuba diving in a small pool and at the time, I didn't know how to swim. I spent the next three months teaching myself how to tread water, float, and swim a backstroke (really easy to learn), in order to take an upcoming open water class.
If you don't know how to swim at least a little, odds are you won't be all that comfortable in the water. Comfort in the water is essential to learning how to scuba dive, because some of the things you're going to learn how to do in your scuba diving class will be much more difficult if you're not comfortable in the water.
There's a swim requirement for most of the various agencies' basic scuba diving course. The only exception I can think of is PADI. For PADI, you can either swim 200 yards, or snorkel for 300 yards.
One thing you might want to do to prep for the open water class, especially if you haven't spent much time in the water, is practice snorkeling in your local pool. Snorkeling did wonders for my comfort in the water, and set me on the path to learning how to swim. The more I snorkeled, the more comfortable I became, and the easier it was to relax and swim.
Hope this helps!