When Relationships End But You Still Work Together Daily

Broke up but same office. How to keep relationships professional when heart still hurts?