Christina Applegate ended up in hospital more than 30 times with "unimaginable" pain amid her MS battle.