Need Advice Replacing Cedar Shingles

I'm getting ready to stain my house and want to replace several cedar shake shingles. The way the shingles are nailed it is very difficult to remove a shingle. I was wondering if anyone had any tips on how to do this.
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
Add image file
Upload is a website for homeowners and building and maintenance pros. It is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.