how do incorporate a monthy fee for services

Hi, I was wondering how to set up a system where I can accept a credit/debit card payment. For example lets say that I wanted to charge somebody $500 to make a website for them and then charge $50 per month for SEO services.

How would i go about setting that up on my website?