Different lineups have different dynamics. Some are practically free-for-alls while others are heavily regulated. Based on your previous post about surfing the Hook, I'm gonna assume you're talking about surfing Santa Cruz or maybe further north. Either way, here are a few things to consider, most of which will apply at other lineups as well.
1. --Don't paddle out straight to the peak and go for the first wave that comes.--
Sit further off to the side and get a feel for the dynamic in the water. Watch who's catching waves and who isn't. Let at least one set roll through. If you're lucky, it will be a big set that the best surfers will nab and the rest will get cleaned up leaving you sitting pretty.

But don't count on that. More likely, a few surfers will catch the set waves and other surfers will shift over to get in position. You should basically get in line and wait your turn. If you're really lucky a set will swing wide and you'll be in position to jump the queue by no fault of your own. On a good day at Steamer Lane, it might be 30 minutes before I paddle for my first wave. Pleasure Point is usually mellower. Cowell's is pretty much a free-for-all.
2. --Don't snake anyone.--
Snaking is paddling around someone to get better position to drop in on a wave. If you've watched someone let a few waves go by and it looks like they're mostly sightseeing, then yeah, of course it's fine to change your position in the lineup. But if someone's been waiting, and they're in position, and you paddle around them on your sponge to get in the wave earlier, then a few dozen surfers are gonna tell the cops that they didn't see a damn thing as they rush you off to the ER.
3. --Don't drop in on anyone.--
If someone's on the wave, it's theirs. Back off. If someone's deeper than you and they're paddling (and they know what they're doing), it's theirs. Back off. Especially at better, more competitive breaks, this can be frustrating because good surfers will be able to get in deeper and in more critical spots. Just be patient and enjoy the show.
4. --Don't under paddle anyone.--
This is basically paddling in front of someone, or across their line of entry, to catch a wave. Paddling next to someone who may or may not make the wave is fine, but if they have to slow their paddle because you're shunting them, then don't be surprised if your leash *accidentally* gets pulled right as you're trying to make that critical drop. Also, don't be surprised if your Wavestorm *accidentally* becomes two body boards.
People complain about getting vibed at SC by locals, but I'm not local and I've never been harassed because I follow those four rules. It also helps that there are a lot of talented surfers in SC. Why does that help? Because the really good surfers usually have no problem dropping in deeper, navigating the lineup, and adjusting to the conditions. I once shared a peak with Nat Young and he took every wave he wanted. Even if I had wanted to challenge him, there's no way I could have because (as waikikikichan put it) he's got mad game. He was always deeper, more critical, and he got there without having to mess with me to do it. And yeah, I was on a funboard at the time. He was on a shortboard with probably half as much volume. My point is, a good surfer will often be able to compensate for your kookiness BUT being aware and respectful of those around you will help keep you out of trouble.