A contraction for 'we would' or 'we had'.
We'd have to take the train at 9:00 if we want to get to Grandma's on time!
Just because you can spell "we'd" doesn't mean you can forget the spelling of 'would'.