Adult living with parents

If your parents live with you Or if you live with your parents how do you deal with there bad attitude like they want your children to be theirs, they want to talk to you like you are a child. Complain about you when you want to have a day where you relax not doing much how do you deal with parents it's there smart ass comments and treating you like your that can't do anything