If you've had sex, anything is possible! The pain and discharge you describe could well be associated with ovulation - so don't stress yet. Give it a couple of weeks and if af doesn't appear again I would go back to your gp. The odd cycle could be just your body getting rid of the pill hormones, etc.