It is all depends on the config, if you hard coded speed to 1GB any where, then you need to shutdown and change the port speed and presenetation, if this is Auto mode, in the maintenance window, remove OLD SFP and insert new 10G-SR - check is the module SFP recognised,(make sure other end same SFP) - connect the cable and test it.
always suggested to perform in maintenance window, due to Live environment. (make sure new switch support same SFP and regignise the SFP Module before you Plug fibre patch) - also since this Layer 2, worth checking any STP Looops.