Hi
All snakes are different and take their own time.
Fully ensure that his tank is set up correctly and he has correct heat/ hides etc. If he is happy in his home, it is the first step.
Be prepared to be bitten without flinching, If you are nervous, he will be nervous. Dare I say, use a glove if you are worried because not flinching is important. Never hesitate in picking them up, straight in a scoop them up, (this is assuming he is on the bottom of the tank under a hide - removing from a tree/branch is different) -once they are in your hand, clear the snake from the tank and don't move, allow the snake to settle for a minute or so, until he starts moving around.
Dont make fast or sudden movements and keep your hands as still as possible.
Once he is moving he should be ok to handle if you dont make sudden movements. Just let him glide, dont restrict his movement, guide him from hand to hand.
If you have gloves, remove 1 at this point and let him onto your hand, he will be nervous about it, so do it slowly over a few minutes. Remove the other one too, definitely give him bare hand experience pre handle.
When you return him to the tank, let him find the branch and glide off your hand into his enclosure.
Do this every day for him and he should settle.
Dont handle him the day you feed him or for a few days after a feed, (allow his food to digest) if you notice him heading for a shed, dont handle him until he has.
This works for me, some snakes stay snappy, (ie my jungles) but a coastal should settle down for you. Patience is the key.
Cheers
Ad