You may have Slide Over enabled, or you may have Stage Manager enabled, depending on your iPad. You can close any small windows by tapping the button at the top with the three dots and tapping Close. You can disable Stage Manager in the Control Center and tap the Stage Manager button to turn it off.