You never told us if it's a NEW gun or a used pistol.
You never mentioned what kind of ammo you were using. Only that a relative purchased it for you.
It doesn't sound to me like you have much experience with firearms.
Maybe you should take a course on weapons handling instead of one on cleaning your pistol.