I got wifi hotspot access point working I followed steps as shown on this page: https://thepi.io/how-to-use-your-raspberry-pi-as-a-wireless-access-point/#comment-17588
Now I can connect to wifi hotspot created by raspberry pi but I cannot access raspberry pi via ssh. I checked router admin page and in connected devices it shows
titan 192.168.1.187 192.168.1.122 xy:yz:eb:8a:47:fa Ethernet 3
now it shows 2 ip addresses and the mac address is different than the previous one. Earlier it shows 1 ip address.