Does pressing home button hard cause problem?

My friend took my iphone and pressed home button hardly for few times…
the phone is working fine though.
Will it make any problems?

Could eventually. Depends on the iPhone though. If any previous to the 7/7 Plus then more likely, again eventually. If the 7/7 Plus on, then no, since it isn't a button in the 1st place.

The word 'hardly' does not mean what you think it does. You mean that he pressed it hard. Stupid thing to do. But to be expected. (Because it was a stupid thing to do.)

If he hardly pressed the button then that means he pressed it very gently.

Learn English before you try and use advanced technology.

Nope but if always to press very hard it may cause some problems, from 3 times it wouldn't have any effect, Button is designed to withstand millions of pushes

If you press it too hard, it certainly will cause a problem.