Well, there's nothing wrong with going out and getting laid. You want to go out and have sex, go out and have sex, just be safe.
As for getting into trouble and getting arrested, that's something else entirely. Honestly, it sounds a lot like you haven't been having any fun at all and being really hard on yourself for it. Few people find their dream job at 25.
So, first of all, take a vacation, even if it's just a couple of days where you veg out in front of the TV: You need it. Secondly, look at what you're doing and see what you can let go and what you can change. Over the long term, that'll do a lot more for you than an arrest record.