If it's Android 3.0 or newer, then you can't.
Android doesn't expose direct access to mass storage because it's too low-level. It doesn't want you to change partition geometry, format them and be able to access every single bit. It also does want to be able to access SD card all the time and to expose it as a mass storage device, it would have to give the PC exclusive access. Older Androids did this, newer don't. Instead, they provide filesystem access through the MTP protocol.
Since Android 6.0 it's even more complicated: you can format the SD card as adopted storage. It becomes encrypted with a random key stored in the main memory and is seamlessly integrated with internal storage. This enables Android to securely install apps to SD cards. Such SD card can be accessed only through MTP in this specific phone where it was adopted. Other phones and PCs can't read such card because it's encrypted.