The best way to prevent salmon from drying out is to not overcook it. Most salmon filets don't need anymore than 10-15 minutes of cooking at the most.