How long have you had the fish?
How long has the tank been set up for?
How often do you do water changes and how much do you change?
What sort of filter is on the tank?
How often and how do you clean the filter?
Can you post a video of the fish?
Upload it to YouTube then copy & paste the link here.
Corydoras normally take in a bit of air throughout the day and night to help with their buoyancy and to get oxygen from the air. If the fish swallowed too much air (as suggested by
@DoubleDutch), that might cause it to float. Dry food can also cause this.
Stop feeding dry food for a week and offer frozen or live foods instead. See if it fixes the problem. If it does, then just reduce the dry food and give them some frozen or live food each night after they have had dry food.