It is generally not legal for someone to read your text messages without your permission or without a court order. If someone is accessing your text messages without your consent, you may want to contact a lawyer or law enforcement agency to investigate the matter.