Here's what you need to know to prepare delicious ribs safely.