need advice?

so i have got into a really bad head space and have been really upset and not happy at all, so i have been spending a lot of time at my boyfriends house because he makes me happy and now my dad has noticed that i’m not okay i guess and he is telling me i’m not allowed to see my boyfriend as much anymore or have any freedom until i tell him the truth about what’s wrong and to be honest i don’t even know what’s wrong and he doesn’t understand that and he is just going to make me feel worse.