I haven't learned anymore irregular verbs than the two here, but a good way to remember how they work without just "memorizing" is to see the shared pattern they display. By dropping the る and ending vowel sound and replace with "i", you get the stem of the verb.
する → す → "s" + "i" → し