There isn’t a law in Texas that makes it illegal for you to not tell a partner you have an STD or STI. However, it is illegal to knowingly or recklessly transmit an STD. As mentioned, if you don’t tell a partner about your STD and they contract the disease, you could face criminal charges, as well a civil lawsuit.