do you own it and if you don't mind losing some ceiling height and space? if so you can soundproof it which will cut a huge amount of the noise down. and unlike the other poster does not cost huge amounts (still talking several thousand though.
calculator here to see costs.
https://www.soundstop.co.uk
probably looking around 2k per room (for ceiling and all walls)
otherwise, move. but if all you can afford is a flat, then you only really have sound proofing as you can never know who will move into the other flat/flats. and is what i am planning to do.
recording it might be a solution in the end, but i have never heard of this way resolving it in any reasonable time frame, then who knows who will move in after that.
edit- if your planning to move i wouldn't bother doing anything, march is pretty darn close.