Sealing the record is something that is usually done when the parties agree to settle. Now, in Department 94 downtown, and in Department P of Van Nuys, this is done as a matter of course when the parties agree. Other courts like Department 8 in Inglewood, it is not done absent good cause. It is also never done when the parties go to trial. When attempted after trial, ALL courts require a noticed motion and good cause must be shown before the court will seal the record (It will hurt my credit or it will make it difficult to rent an apartment is not good cause) as court cases are considered to be a public record.
A proper response would require a thorough investigation into the history and background of this relationship. The information provided above is just that, information, to be used as you see fit.