What to do when you find out your pregnant

I've just found out I'm pregnant and was wondering what is the next step I need to take? I live in the UK so things might be a little different here compared to other countries. Do I go to the doctors and get them to do a pregnancy test or do I contact a midwife and book an appointment? What happens after that? Will I be booked in for a scan?