Have you a pen?
Or
Do you have a pen?
What will be appropriate to say?
I would say 'Do you have a pen?' but I think 'Have you a pen?' is acceptable as well.
I agree with minnieuk but ' Have you a pen" is a rather old-fashioned style. Most people now prefer the first choice.