If it's a corydoras catfish, it could spawn by itself, but they don't seem to do this very often. Since there is no male present they will all be infertile. This is a picture of one of my C. schultzei spawning so you can compare the eggs.
Denzil, I want to point out to you that corys are schooling fish and, if that's the kind of catfish you have, it would greatly benefit from the addition of one or more of the same species being added.
If anyone would like to read more about corys and their breeding, here's an article you might find interesting;
Depending on which species you have it might be difficult. The males are usually more slender than the females. If you're buying a group the chances are that you will get some of each, but if you are looking for just one, or if they are very young, it could be tricky. Your best bet would be to ask the sales person to put several into a container and look at them from the top. With luck you will see a difference between them.
Here's a pair of bronze C. aeneus. The male is the one on the bottom. If you compare them you will see that the female is wider than the male.
In any event, unless you intend to breed them and raise the fry, it won't really matter. Your cory will be happy to have a companion no matter what gender it is.