The dexamethasone suppression test can have side effects, such as nausea, dizziness, and headache. The test is not recommended for pregnant women, people with a history of peptic ulcers, or those with a history of psychiatric disorders. The results of the test may be affected by certain medications, such as anticonvulsants and barbiturates, so it is important to inform the healthcare provider of any medications the patient is taking.