"Somehow" can be used in the following ways:
as an ordinary adverb: He managed to escape somehow.
as a sentence adverb (making a comment on the whole sentence or clause): Somehow, I had the feeling that Owen was going to be difficult
another Example :
in some way or by some method that you do not know or understand exactly :
- Somehow he managed to pass all his final exams.
- Farm animals are seen as somehow different from animals we keep as pets.
"somehow or other":
-Somehow or other we’ve got to find the money
For some reason that you do not know or cannot explain :
- ‘Why don’t you stay?’ ‘Somehow, I don’t think that would be a good idea.
- Somehow, it was easier to deal with him when he was alone.