One thing I always do these days is I step through any new code I've written the first time I run it.
This usually weeds out some bugs that might take a while to find because they are easy to miss. It also ensures that you actually go through each line of code you write, doing a forced code review on yourself early on.