Chances are that you will get "smoked" in your first race, unless you are a 1 in million mutant.
Don't let that keep you from racing. If it was easy it wouldn't be as fun.
But please do group rides first. Once you get comfortable in the pack there, then race. And look out for local beginner/teaching races. If your area has them they're worth doing.