Do you mean keep to themself? That means something different than to keep with themself.
The first example might be something like not repeating what you said about your money problems.
The second example might involve flatulence, or making sure to carry his cell phone ar all times.
Not sure which example you mean?