You always have to be gentle when handling ribbon cables. One small tug in the wrong direction or too much force when removing them can easily damage the pins or tear the ribbon itself. Don't worry, we've all done it :)
This original replacement ribbon will get your controller ports connected back to the Dreamcast's mainboard in no time. Simple to install with no special equipment or soldering required.