It difficult as flashing can be caused by a number of things such as poor water quality stress parasites if you have had the fish a long time and haven't introduce anything into the tank in last couple of months you can probably rule out parasites your water parameters look good it's possible stress as you don't have a lot of plants or line of sight break's what I would do is add a floating plant like water lettuce that has long roots to provide some cover and vall or other quicker growing plant like elodea or hornwort your Amazon sword looks like it's being eaten by your pleco depending on the species if it's not getting enough vegetable matter in there diet it will eat your plants @Stroy15