Do not share your personal problems at the office. Leave them at the door the minute you step into the office.
It is unprofessional to include your personal life in your professional life.
If you have a close friend at work, you may discuss your problems with them outside of the office environment – away from others.