Flying on a plane at 4 months?? Help??

I’ve had a trip to England planned but my friend is trying to tell me that flying while pregnant could cause me to have a miscarriage.. Is this true? I flew to Atlanta (I live in Pittsburgh) the day I found out (one month in) and everything was fine..