Your best bet is to use mineral sunscreens like non-nano zinc oxide and titanium dioxide. Avoid chemicals like oxybenzone, octinoxate, octocrylene as active ingredients and waterproof. Many of the sunscreens now list on the bottle if they are reef-safe, biodegradable, contain nanoparticles, etc.