If my phone battery swells, can I poke a pinhole in it to flatten it and keep using it?
Never puncture a swollen phone battery. It isn't gas you can let out; it's caustic chemicals that can hurt you badly. Shut the device down right away and take it to an authorized service center.