problems can cause menstrual irregularities that may be responsible for your abnormal periods,
anyhow if you are having doubt regarding pregnancy
you can go for blood test
for pregnancy which will rule out the possibility,
if comes negative you can consult gynecologist and undergo physical examination, ultrasound
examination and repeat thyroid profile which will possibly find out the cause for your problems and treatment can be taken accordingly.