There are 2 possibilities.
1)
по моему + Noun-in-Dative
Stress is on у.
ex.: По моему мнению, ты ошибаешься.

2) по-моему (adverb)
There are more meanings, stress on first syllable.
ex.:...