Kitchen: grease, cooking oil and fat harden inside the pipe. Let them cool and put them in the trash. Coffee grounds, rice, pasta and fibrous peels are also hard on a kitchen line, even with a garbage disposal.
Bathroom: wipes cause clogs even when the package says flushable. The same goes for cotton swabs, dental floss, paper towels and feminine products. Toilet paper only.
Showers and tubs: hair is the main cause. An inexpensive drain screen catches most of it.
Skip chemical drain cleaners. They can be hard on pipes and are dangerous to skin and eyes.
If a drain keeps clogging, a camera inspection shows what is really going on.