Period question

Ana
I have a cycle 34 days, but not it was 40 days and no period. I didn't have sex, and all I did just was taking vitamins all this month. Could it affect my hormones? Shall I see doctor and be worried? Thanx