A gynecologist specializes in periods and all things related to the female reproductive system. A gynecologist can diagnose and treat irregular periods and prescribe hormonal treatments to help regulate menstrual cycles.