What are using to edit the pistol? Also is this your pistol or an idea of how to make it. If it is true, you should start making the pistol, then asking questions.
I am using blender to model it and it is reference image.i already started modelling it I don’t know how to create those portion shown in the above images
Your using that as a reference image, so you could simply create a lot of loop cuts near those places and using them, you would create faces and angle it off.
Edit: There is also lots of tutorials so I’m sure you’ll find something that goes through the entire process start to finish.
For the strips you can , first box the area where stripes are located with lines using the subdiv line, then extrude the portion of the bump, then use subdiv-surf modifier , then subdivide and pull those to the edges. You can try to use shift + E on edges and pull edges too, if you want it sharp, if you want to undo those sharps just : in edit mode go to upper left of screen then under edge tab & select clear edges.
Then for the letters just trace those first then extrude, then you can just place them on the designated area.
The other complex way (flush is trace those letters , position letters near the surface (letters should be separate from the gun surface. Box the area around the gun surface where the letters should be with subdiv lines again. Select the lettering and add shrink wrap modifier to it, in the modifier find the eyedrop, click and select the gun surface model, you could change selection in the mod, to above surface. Click apply on the mod. Select the gun surface , in edit mode delete the boxed area so it’s now a hole. Combine the letters & gun surface and re-seal by connecting the letters with the box mesh , you can inset the letter after so that it fixes some stretching. Done.