I just had an ultrasound and was told I have a thick uterus lining. What does that mean? I been having irregular periods and some pelvic pain.

Nonspecific. It could mean you are close to your period or that the lining has not been fully shed with your periods. Certain medications can cause this as well as various abnormal growths. It really needs to be evaluated in the context of your particular situation.