Freezing your accounts at the three major credit bureaus is the best way to prevent thieves from opening new credit accounts in your name.