You put up with something when you tolerate it. You might not like it but it is sometimes a necessary evil.
Tom can’t put up with his flatmate’s dirty habits any longer and is going to move out of their shared flat.
Mary’s husband never stops coughing. I don’t know how she puts up with it.