Keep trying, ye the more ideal place to learn in a nice sheltered area on sand with a foamy. But hell your brave going to the point on a second attempt.
With safety in mind i think you need to research surfing or have a lesson or two. Sounds like you got caught in a shore break situation which has killed plenty of people. This is not to scare you just to make you aware.
Any question feel free to ask.
RE: Learning Surfing and How Not To Chase The Big Waves