It's crucial to breathe slowly and deeply when snorkeling in windy weather. Consider getting a dry snorkel that helps you to stop breathing in water. Dry snorkels have a float valve at the top that closes when waves hit. If you need to remove your mask, ensure you face downwind before you do so.