Immature in laws

How do you deal with an in law who makes rude comments about you and treats you like you’re an inconvenience?