Get to a diy store and get some flexible frame sealant, or upvc small gap adhesive filler, which would probably be better, depending on size of gap. Plus cartridge gun if you do not have one, total cost about £8 max. cheaper if you go to trade places. toolstation, screwfix etc
SD, December 2011