Your goal here is to kill Godrick the Grafted, the first shardbearer in Elden Ring. There are two routes into the castle: a side path and the main gate. Regardless of which path you choose, both will eventually lead to Godrick.