How do you maintain your happiness despite problems?

Some people have so many problems...it's hard to see how they could be enjoying life at all...and well, that's the reason we are here...to enjoy life...otherwise, what's the point of living?