Same thing happened to two of my female platties. Apparently they are very weak after giving birth. Make sure your water conditions are good, that the fish aren't being harrassed, that they aren't being handled too often, and that they aren't kept in small quarters for long periods of time.