(This post was made in the point of view of a Nevadan. Laws may and will differ between states, see post for more info.)
Check if your state/country has a Good Samaritan Law
The simple answer is, a Good Samaritan Law gives you no liability if you make a mistake while giving first aid.
That means if you're giving CPR to someone and you break their ribs, you can't be charged with assault because you were:
There are many, many more things you can do wrong, but you can't be charged with anything because of this law.
Pro tip: If the person is conscious, be sure to ask for consent. EG: "My name is Mike, i know first aid. May i assist you?" That way if they take you to court, they can't claim anything.
Google "<your country/state> Good Samaritan Law" for more info.
TL:DR: Don't be scared to help people! In most countries/states, you can't be charged with anything if you make a mistake during an emergency, as long as you're doing it without pay, and in an act of good faith.