One of the most important things people should know about no-contact orders is that if there is one against you, it only applies to you; if the other party tries to contact you and you reply, you’re still violating the no-contact order, regardless of who initiated the contact.
Be aware that people may be trying to trick you or trap you, so you need to follow the order, no matter what, and that means any type of contact, including emails, texts or phone calls, as well as attempting to use third parties to carry a message to the other person or to carry on a conversation; it means no contact. Following that rule is important, because many people who thought no one would find out they violated it end up locked up.