First Negate The Given Statement :
~(Strings that contain neither the substring $00$ nor the substring $11$)
$\implies $ Strings that contain the substring $00$ or the substring $11$
So the regular expression is : $Lβ = (0+1)^*(00+11) (0+1)^*$
Then drawing itβs DFA is very easy :-
After this if you complement the machine (change all the final and non final states without touching the arrows), you will get the required min-DFA.
DFA made from : FSM Simulator (ivanzuzak.info)