Wrong thoughts are inside us just because we identify ourselves with these thoughts. If we identify with something else, immediately they have to leave us.