It is generally recommended to wait until you have recovered from a fever or cold before getting a thyroid test. This is because these conditions can affect thyroid hormone levels and potentially skew the test results.