What are the step to make a secure web site?

I am talking about the one where it accepts credit card numbers or like a shopping thing.