(1) You had better spend time stydying hard.
(2) You had better take time to study hard.
There are a lot of ways to say "You should study". Neither of the above are really better than the other.
You could also say, "You had better make time to study hard". This is used if a person says they don't have time. You reply, "Well, you need to make time!"