Rooting your phone will not recover lost messages. You might be able to get your phone logs from your carrier.
As for rooting that would depend on a few factors. What type of S9 plus do you have? For instance, mine is a Sprint Note 4, the model name is sm-n910p.