Do not show that you are nervous. Act with self confidence. It is not a big deal if you get turned down because there is always someone else available.
You have to act cool and confident, or he/she will probably say no. People are attracted to people with confidence, so if you seem like it's no big deal, they will probably say yes.