Is it a new card? If so, its already formatted FAT32, and should work out of the box. If its still asking you to format, even after formatting on PC, and format on the phone doesn't work, the card may be defective or damaged.
Please click the "Thanks" button if you found a post helpful!
Phone: AT&T HTC One (M8)
Tablet: Samsung Galaxy Tab Pro 8.4 (WiFi only)