Basic safety rules include: cave with groups of 3 to 6 people, some of whom have experience, bring 3 independent sources of light, use helmets and headlamps, avoid hand-held lights (a strong sign of inexperience or incompetence), leave word of your plans - where you are going, expected return time, who to call for help - with a trustworthy friend. Some basic knowledge of geology is useful, as is comfort with physical contortion, sturdy clothing, and an ability to orient and visualize in 3-dimensions in environments that are far from rectilinear.
Respect the culture of secrecy about cave locations, which helps protect them from damage. Take nothing but pictures, leave nothing but footprints.
In Britain there are a number of good university clubs (I learned with ULSA at Leeds) as well as established local clubs like RRCPC, Northern Pennine Club, and Mendip Caving Group. In the US, the National Speleological Society has a network of local 'grottos'. There are established clubs in nearly all countries with good caves.
Also, caving with other enthusiasts is great fun. Outside of tech, the cavers were the closest I've ever found to 'my people'.
A decade should be good enough to keep you alive most of the time.