Disabling a script that's attached to a text object?

I’ve been looking this up for a while now about how to access a script associated to text and then disabling it, but every result is always about using a script to edit text.

I have a “Time” text object and a script named “Timer”. If I’m editing the script im using to finish the level, how would I go about accessing the Timer script and disabling it? Thanks.

gameObject.GetComponent();