How to get over death of a loved one?

My dad has had cancer for over two years now. It spread and the doctors say he has around 2-5 months left. I’m 19.

How do you deal with this? Any advice? It sucks