>How about you never take nudes in the first place?
That's obviously the safest option, but sending and receiving nudes is an activity many sexually active people find arousing.
Not having sex is also the safest option to preventing pregnancies and STDs, but people still engage in it with protections that are not 100% guarantee simply because it's an activity that most people need.