Have you taken leave of/lost your senses? (= Have you lost your ability to make a good judgment?)你疯了吧?
It's time you came to your senses (= started to use your good judgment) and realized that they are not going to help you.你该醒醒了,你该明白他们是不会帮你的。
The accident brought him to his senses (= caused him to use his good judgment again) and made him stop drinking.这一事故使他醒悟过来,不再喝酒了。