I use a woman’s swimsuit a the moment, i wear a swim shirt over top and shorts with coverage to help a bit.
But you can wear a binder when swimming, just make sure its a size or two up from your usual one. There are also compression tops which may be good for swimming. You can also use kinesiology tape to bind which is the safest option.
Here’s a link on how to use kinesiology tape for binding