sex /birth control

Is it normal to be on a birth control shot for a couple years and sometimes after having sex bleeding occurs  even tho you don't get normal periods ? I need answers asap