Help 36 weeks pregnant

Had a smear test due to having high Vagina bleed turns out I was fine just had thrush infection,they gave me a tablet for it and some cream

Ever since the smear test it hurts when I have sex and I also have vagina sharp pains,could the smear test of started me off ??