A very stressed VFR pilot who has just entered IMC needs to get their act together quickly. Maybe turn away from rising terrain, if possible without entering a spiral dive, and set the aircraft up in a climb (500 fpm) on a fixed heading whilst you calm down.
Sure you may still hit solid clouds or encounter icing conditions but at least you are in control of the aircraft. I am just stating what worked for me many years ago. 15 minutes later I popped into bright sunshine at 8500’.