If you have modern hardware (iPhone, newer PC, 4K TV), HEVC is the better choice and you should use it by default. If you are sharing files with the world or using older tech, stick to H.264 (AVC) to ensure your video actually plays.
The final success (e.g., mastering the "UserHEVC" workflow). userhevc better