Someone complained, they send someone to check and triangulate, verify that the operator doesn't have the license, then issue a warning or fine.
But in general, yeah, unless you do it regularly, living near sensitive facilities (airport, military base, hospital, factories, research labs etc) or deliberately transmitting at/near emergency frequencies (police, paramedic etc) at most you'll get yelled by a pissed off operator (at that point, stop, they could be already coordinating with someone else to triangulate you)