The best way to attract a woman is to just be you. Putting on an act, or pretending to be someone you are not, will only repel women, instead of attracting them.
When you see or meet a woman you are interested in, start by just saying, Hi. This might seem very simple, but it is more effective than trying to come up with a cheesy line that will probably not get the response you are hoping to receive. After that initial, Hi, you can ask her a question, introduce yourself and begin a conversation.
Another important step to attracting women is to be well groomed. This means taking a shower, shaving, brushing your teeth, wearing deodorant, not over doing it with cologne, and wearing nice, clean clothes and shoes. If you look like a slob, have bad breath or smell bad, chances are even a simple Hi, will get you rejected.