I am asssuming you are new to the hobby?
Before thinking about the fish for stocking, make sure you become very well versed in all the aspects of fish keeping from cycling the tank, understanding water parameters, proper water change schedule and procedure, etc.
Make sure you're using quality equipment from the outset; there is no sense in skimping on any items because you'll end up replacing them anyway.
Don't stock the tank all at once. It needs to be cycled, and even then you have to be sure you only add a few fish at a time.
Okay with my rant over, I suggest that for a ten gallon tank you get a few peaceful, hardy fish. Cherry barbs, black tetras, zebra danios, cory cats, female bettas - just for some examples.
I would actually advise againt a male betta for a community tank when you're a beginner for three reasons:
1) They can have compatability issues that you might not be aware of, such as with gouramis, paradise fish and often female bettas. Because of their long tails, they are also prone to be nipped a lot by nippy fish like danios and tiger barbs.
2) They are slow swimmers and can be outcompeted for food by faster swimming inhabitants.
3) If you have a strong power filter, the currents will annoy them and worse than that, I once had a male betta get sucked up against my filter intake. By the time I caught the problem it had been hours and he was so weak that he died a few days later. (This can be easily remedied with several methods of covering the intake, but that's hardly something you'll want to be dealing with as a beginner.)
I wouldn't recommend otos either. They can be very sensitive to water conditions and require algae or supplemental foods to do well. If you want a cute bottom feeder, go with corys. Those guys are the goods.
So just to recap - read up on everything you can, pick smaller, hardier fish that are relatively peaceful, stock slowly only one or two...maybe three fish at a time, don't overstock the tank....and have fun.