Possibly from Latin torpōrem with late metathesis of /r/ and dissimilation of the first vowel.
Practice speaking and memorizing "trepó" and many other words and sentences in Catalan.