When changing baudrate on the fly, you want to turn off the USART before though.

RCSTA=0
SPBRG=xyz
TXSTA = whatever, assuming it's value change from baudrate to baudrate
RCSTA=$90