The general rule is it is fine to get a tattoo shortly before flying, however one thing to remember is you will be in some discomfort on the plane. You will also want to ensure you are not allergic to the ink, as the last thing you want to do is land the plane early due to you becoming severely ill.