It is known that girls sometimes get thryoid problems just before starting to menstruate. But if she is having pain i gues you should consult a ENDOCRINOLOGIST for the same. Folllow this link to get a specialist answer your question.
http://www.healthcaremagic.com/specialists