It takes time to get a feel for the how, when and where. The most important thing is patience and persistence.
Do a lot of reading and video watching on the topics of lure selection, fish behavior,tides, etc. Keep an eye on reports online, tackle shops and The Fisherman.
There are some good books available, particularly from Zeno and the gang at Surfcasters Journal.
Especially helpful would be to get together with someone who has put in some time n the water.
Put in your time, be patient and keep trying. Oh yeah....follow the KISS rule too.