This is a super general question that literally thousands of words could be written about but here's one core concept to keep in mind: the value/comfort model. For a woman to sleep with you she needs to know you are high value (assertive, a leader, self-assured and outcome independent) but also feels comfortable trusting you with her body and her physical safety (following you to a second location away from her friends etc.) You will need to spend time (a few hours at least) building both value and comfort with the girl - the amount of each the girl needs varies by person and even by mood.
If you have more specific questions let's hear them, but that is the overall goal - build enough value and comfort with the girl that she wants to sleep with you and that sleeping with you is a "win" for her.