If the pilot is in breach of the Rules of the Air, you can complain to the CAA (see below). For military aircraft, you can raise the issue with the MOD on 0845 600 7580. There's a useful article on low-flying military aircraft you can read on the GOV.UK website.