Can mistakes you made when you were under 18 ruin your credit?

No! You should contact the credit bureaus immediately by mailing letters "by registered mail" if anything appears on your credit report when you were under 18.