Answer:
There are a few ways to ask.
-comment ça va
-comment allez-vous
and a few more, but keeping it simple.
Impordant note;
When saying "You" in French, there are two ways. "Vous" and "tu".
"vous" is used when talking to someone you don't know that much, or your teacher, boss, waiter, etc. Vous is formal. When speaking to a group ( more than one person ) ALWAYS use "vous". No matter the people.
"tu" is informal. Use this when you are talking to your sister, friend, etc.
In this particualr example you would use tu. Because you are talking with a friend. When in doubt, its safer to use vous.