What can I do to prevent soreness when doing the backstroke?

Arnica. Right after your swim, try massaging arnica cream into the areas that tend to get sore.