Popeye can be caused by Poor nutrition, poor water quality, rapid change in water temp. or PH, or injury. To treat it, you could either use 1 tsp aquarium salt per tank gallon, or a med such as maracyn. I'd reccomend using a hospital tank when treating the popeye.
HTH Sea_Monster