It all depends on the size of the joist and what they are made of , and what the span is that you are spanning.
If you have 16-0 feet or less you can use 2 x 10s , 16 inches on center
If you have 16-0 feet or less you can use 2 x 10s , 16 inches on center