As above check brake fluid level and that you're parking on a level surface. Also, your brake light switch may be worn or out of adjustment which could cause contact as the metal expands/contracts with overnight temperature changes.