Then bidding goes:
(1S) 2N (3S) ?
He bid 5D. I think this is not right at all, but he said it is automatic.
Will you bid 5D?
*** Edited Later ****
Sorry that the confusion. Yes, partner is south, we are white, they are red.
Bidding goes:
P (1S) 2N (3S)
5D (5S) 6D (X)
After partner's 5D, I tried 6D with this and got doubled:
-
Kx
AKQxxx
Txxxx
6DX -3 -500 (HA, CAQJ) while 5S -1 (HK, DA)
I blamed my partner for his 5D bid (as I think it normally is 5card)
Do you think we are unlucky, or I shall not bid 6D?

Help