Madrid came from behind to stun the La Liga leaders in Saturday's Clasico, despite playing the final seven minutes with 10 men following Ramos' red card.
Ramos received his second yellow card when he dived in on Luis Suarez, but third-placed Madrid were not to be denied as Cristiano Ronaldo scored the match winner just two minutes later after Karim Benzema had cancelled out Gerard Pique's 56th-minute opener.
Speaking afterwards, Ramos told reporters: "We did plenty of damage on the break, with one player less.
READ MORE | MSN stutter on night Barca lacked some Cruyff magic
"If I had realised what would happen with one player less, that we'd have won with the sending off, I'd have got myself sent off in the fifth minute."
The win came after Barca crushed Madrid 4-0 in the reverse fixture at the Santiago Bernabeu last November, as Ramos side moved to within seven points of the Catalan club in the league standings.
"The good thing about football is it gives you a chance for revenge," the defener continued.
"You must always keep your feet on the ground. Our fans deserved this after so much suffering. It was important to arrive here at our best level.
"This is a way to recover our confidence, a prize. We are working very hard to do something important this season. We are on the right line."