Some contraindications are absolute, meaning that there are no reasonable circumstances for undertaking a course of action. For example, a baby with a fever should never be given aspirin because of the risk of Reye's syndrome, and a person with a severe food allergy should never eat that food.
Other contraindications are relative, meaning that the patient is at higher risk of complications, but that these risks may be outweighed by other considerations or mitigated by other measures. For example, a pregnant woman should normally avoid getting X-rays, but the risk may be far less than the risk of not diagnosing or being able to treat a serious condition such as tuberculosis or a broken bone.
The opposite of contraindication is indication.