If you want to check your current TSH, T3, T4 etc, then keep taking it.
If you want to show a doctor that you have a high TSH, then stop a day or two before.
If you want to see how your thyroid does without supplemental meds, then stop about a week or two before the test.