Continue writing the next sentence.

How to avoid romantic entanglements at work
Determine your boundaries.
You've already decided that you don't want to get into a romantic relationship at work. Now, you need to figure out how to actually implement that in specific terms to set boundaries for your and your co-workers.
For example, maybe one of your boundaries is to never accept an invitation for socializing outside of work from a member of the sex you're interested in. Once you've established that, you can make it a hard and fast rule.