Deductions & credits

Hi, While filing return online do we need to submit physical form 8948 to IRS for any foreign capital gains ? or any other kind of form we need to submit to IRS