How to connect db2

Hello, please provide necessary info. Your information is kind of vague.