Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.
GG, when your up against substitute, take out the sub before trying poison paralysis or sleep, they dont work, plus, you could have used something besides thunderbolt on ground/ice mamoswine