You should see your doctor. It might be from shaving, but it could also be bacterial vaginosis or an allergic reaction to something. It could also be an std.
If you can rule out infection causes, then you can look at what you use to shave, or maybe trimming instead of shaving, etc.
Aj