Typically your phone will automatically opt to use WiFi connectivity over cellular connectivity when both are left enabled. But it is conditional, if the WiFi signal you're connecting to is too weak, your phone is going to be trying to negotiate between the two and using up more system resources than usual (taxing the battery). But no, in normal conditions you won't be using mobile data usage when your phone is connected to a good WiFi signal.