A script that starts a session should not start it twice. Ask tmux first.
tmux has-session -t work 2>/dev/null || tmux new -d -s work
has-session prints nothing. It only sets the exit status: 0 when the session exists, 1 when it does not. The || after it runs the second command only when the first one failed.
The 2>/dev/null hides the can't find session message that tmux prints when the session is missing. Drop it while you test so you can see what tmux says.
Add tmux attach -t work as the last step and one line turns into a start-or-attach script. tmux new -As work does that too, but has-session is what you need when the script also has to do other things in between.
Try it without risk: start a throwaway session with tmux new -s scratch, use the shortcut or command above there, look at what changes, and close it again with tmux kill-session -t scratch. Nothing else on your machine is touched.
Further reading: tmux manual page (OpenBSD, official), tmux wiki: Getting Started (official)