welcome to healthcare magic forum
is generally occur during intercourse .
if you are sure it is torn frenulum than chance of herpes
apply good antibiotic cream over it and take analgesic
avoid intercourse for a week and use condom after it
it may be infection
i hope i answered your question